From 12cd81b68149e441d765a5e22a2eb749458459cd Mon Sep 17 00:00:00 2001
From: Melroy van den Berg <melroy@melroy.org>
Date: Tue, 22 Oct 2024 10:53:04 +0000
Subject: [PATCH] theme(fix) social share cache (#755)
---
layouts/partials/social/share.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/social/share.html b/layouts/partials/social/share.html
index 56054cc..cb56e12 100644
--- a/layouts/partials/social/share.html
+++ b/layouts/partials/social/share.html
@@ -19,7 +19,7 @@
{{/* This here is an ugly workaround for GoHugo's missing sortByArray feature.
Let's cache it so it does not take away too much time.
PS: It's also a couple of years old, so maybe there is a better solution by now. */}}
- {{- $setups = partials.IncludeCached "func/sortNetworks.html" (dict "networks" $networks "setups" $setups) "social-follow" -}}
+ {{- $setups = partials.IncludeCached "func/sortNetworks.html" (dict "networks" $networks "setups" $setups) "social-share" -}}
<div id="sharing" class="mt3 ananke-socials">
{{- range $setups -}}
--
Gitblit v1.10.0