2023-07-27 14:54:06 +00:00
|
|
|
{{- 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 }}
|
2023-07-27 14:54:06 +00:00
|
|
|
{{- end }}
|
2022-06-22 18:32:18 +00:00
|
|
|
{{- partial "shortcodes/include.html" (dict
|
2023-07-27 14:14:55 +00:00
|
|
|
"page" .Page
|
2022-06-23 11:22:04 +00:00
|
|
|
"file" (.Get "file" | default (.Get 0))
|
|
|
|
"hidefirstheading" (.Get "hidefirstheading" | default (.Get 1))
|
2022-06-22 18:32:18 +00:00
|
|
|
) }}
|