mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
Fix social share cache
Signed-off-by: Melroy van den Berg <melroy@melroy.org>
This commit is contained in:
parent
ddc42113d5
commit
ae7f16c264
@ -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 -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user