hugo-theme-relearn/layouts/partials/shortcodes/siteparam.html

10 lines
240 B
HTML
Raw Normal View History

{{- $context := .context }}
{{- $paramName := .name }}
{{- with $context }}
{{- $siteParams := .Site.Params }}
{{- with $paramName }}
{{- with $siteParams }}
{{- index . (lower $paramName) }}
{{- end }}
{{- end }}
{{- end }}