From 960725d838d0512aac8159ce2a2b85774ecfb067 Mon Sep 17 00:00:00 2001
From: Melroy van den Berg <melroy@melroy.org>
Date: Tue, 22 Oct 2024 16:22:18 +0000
Subject: [PATCH] Only pass $options once

---
 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 cad6a4b..2a36177 100644
--- a/layouts/partials/social/share.html
+++ b/layouts/partials/social/share.html
@@ -34,7 +34,7 @@
         {{/* @todo notification into CLI that a network is configured but not supported */}}
       {{- end -}}
       {{- $options := (dict "context" page "setup" $setup) }}
-      {{- $href := partial "func/getShareLink.html" $options $options -}}
+      {{- $href := partial "func/getShareLink.html" $options -}}
       <a href="{{ $href }}"
         class="ananke-social-link {{ $setup.slug }} no-underline"
         title="{{ $label }}" aria-label="{{ $label }}"

--
Gitblit v1.10.0