From 473c7c14c68d3e5a97dee31138a2b176c7ac2302 Mon Sep 17 00:00:00 2001
From: Melroy van den Berg <melroy@melroy.org>
Date: Thu, 24 Oct 2024 09:58:58 +0000
Subject: [PATCH] theme(fix): remove caching of share links (#757)
---
layouts/partials/social/share.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/partials/social/share.html b/layouts/partials/social/share.html
index ef0fe7e..6a30baa 100644
--- a/layouts/partials/social/share.html
+++ b/layouts/partials/social/share.html
@@ -33,8 +33,8 @@
{{- continue -}}
{{/* @todo notification into CLI that a network is configured but not supported */}}
{{- end -}}
- {{- $options := (dict "context" $context "setup" $setup) }}
- {{- $href := partialCached "func/social/getShareLink.html" $options $options -}}
+ {{- $options := (dict "context" page "setup" $setup) }}
+ {{- $href := partial "func/social/getShareLink.html" $options -}}
<a href="{{ $href }}"
class="ananke-social-link {{ $setup.slug }} no-underline"
title="{{ $label }}" aria-label="{{ $label }}"
--
Gitblit v1.10.0