hugo-theme-relearn/layouts/shortcodes/include.html

8 lines
466 B
HTML
Raw Normal View History

{{- if (.Get "showfirstheading") }}
2024-09-18 18:47:07 +00:00
{{- warnf "%q: UNSUPPORTED parameter 'showfirstheading' for shortcode 'include' found, use 'hidefirstheading' instead; see https://mcshelby.github.io/hugo-theme-relearn/basics/releasenotes/4/#4-2-0" .Page.File.Filename }}
{{- end }}
{{- partial "shortcodes/include.html" (dict
"page" .Page
"file" (.Get "file" | default (.Get 0))
"hidefirstheading" (.Get "hidefirstheading" | default (.Get 1))
) }}