mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-05-14 07:22:45 +00:00
theme(fix): remove additional config load and some refactoring
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
This commit is contained in:
parent
600bddab7c
commit
1f4ac20f4f
@ -10,7 +10,6 @@
|
|||||||
{{- $title := $context.Title -}}
|
{{- $title := $context.Title -}}
|
||||||
{{- $url := printf "%s" $context.Permalink | absLangURL -}}
|
{{- $url := printf "%s" $context.Permalink | absLangURL -}}
|
||||||
|
|
||||||
{{- $config := site.Params.ananke.social -}}
|
|
||||||
{{- $networks := $config.share.networks -}}
|
{{- $networks := $config.share.networks -}}
|
||||||
{{- $hasLabel := $config.share.sharetext | default "true" -}}
|
{{- $hasLabel := $config.share.sharetext | default "true" -}}
|
||||||
{{- $hasIcon := $config.share.icons | default "true" -}}
|
{{- $hasIcon := $config.share.icons | default "true" -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user