Only pass $options once

This commit is contained in:
Melroy van den Berg 2024-10-22 18:22:18 +02:00 committed by GitHub
parent fe43ac723d
commit 960725d838
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 }}"