mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-30 15:08:55 +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 -}}
|
||||
{{- $url := printf "%s" $context.Permalink | absLangURL -}}
|
||||
|
||||
{{- $config := site.Params.ananke.social -}}
|
||||
{{- $networks := $config.share.networks -}}
|
||||
{{- $hasLabel := $config.share.sharetext | default "true" -}}
|
||||
{{- $hasIcon := $config.share.icons | default "true" -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user