mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-12-17 19:33:30 +00:00
7 lines
190 B
HTML
7 lines
190 B
HTML
|
{{- $paramName := (.Get 0) -}}
|
||
|
{{- $siteParams := .Site.Params -}}
|
||
|
{{- with $paramName -}}
|
||
|
{{- with $siteParams -}}
|
||
|
{{- index . (lower $paramName) -}}
|
||
|
{{- end -}}
|
||
|
{{- end -}}
|