mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-07 16:42:45 +00:00
Only pass $options once
This commit is contained in:
parent
fe43ac723d
commit
960725d838
@ -34,7 +34,7 @@
|
|||||||
{{/* @todo notification into CLI that a network is configured but not supported */}}
|
{{/* @todo notification into CLI that a network is configured but not supported */}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $options := (dict "context" page "setup" $setup) }}
|
{{- $options := (dict "context" page "setup" $setup) }}
|
||||||
{{- $href := partial "func/getShareLink.html" $options $options -}}
|
{{- $href := partial "func/getShareLink.html" $options -}}
|
||||||
<a href="{{ $href }}"
|
<a href="{{ $href }}"
|
||||||
class="ananke-social-link {{ $setup.slug }} no-underline"
|
class="ananke-social-link {{ $setup.slug }} no-underline"
|
||||||
title="{{ $label }}" aria-label="{{ $label }}"
|
title="{{ $label }}" aria-label="{{ $label }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user