mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Melroy van den Berg
24.58.2024 473c7c14c68d3e5a97dee31138a2b176c7ac2302
refs
author Melroy van den Berg <melroy@melroy.org>
Thursday, October 24, 2024 11:58 +0200
committer GitHub <noreply@github.com>
Thursday, October 24, 2024 11:58 +0200
commit473c7c14c68d3e5a97dee31138a2b176c7ac2302
tree c37037d018a7f5dcdd3241cf0a82c09be951e3c8 tree | zip | gz
parent 1bcc471e003643c5b72a2fad6c1024b16e829233 view | diff
theme(fix): remove caching of share links (#757)

You can't just cache the share links, that will result into every blog
post having the same URL.

Just use `partial` on the getShareLink.html. So now each post will show
the correct URL to share the post via social media or alike.

---------

Signed-off-by: Melroy van den Berg <melroy@melroy.org>
Signed-off-by: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
Co-authored-by: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
1 files modified
4 ■■■■ changed files
layouts/partials/social/share.html 4 ●●●● diff | view | raw | blame | history