mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-12-12 08:54:08 +00:00
8 lines
No EOL
472 B
HTML
8 lines
No EOL
472 B
HTML
{{- if (.Get "showfirstheading") }}
|
|
{{- warnf "%q: UNSUPPORTED parameter 'showfirstheading' for shortcode 'include' found, use 'hidefirstheading' instead; see https://mcshelby.github.io/hugo-theme-relearn/introduction/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))
|
|
) }} |