mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +00:00
10 lines
240 B
HTML
10 lines
240 B
HTML
|
{{- $context := .context }}
|
||
|
{{- $paramName := .name }}
|
||
|
{{- with $context }}
|
||
|
{{- $siteParams := .Site.Params }}
|
||
|
{{- with $paramName }}
|
||
|
{{- with $siteParams }}
|
||
|
{{- index . (lower $paramName) }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|