culinary.kemonine.info/themes/hugo-theme-relearn/layouts/partials/shortcodes/siteparam.html
2022-12-03 10:27:03 -05:00

10 lines
240 B
HTML

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