2023-07-27 14:54:06 +00:00
|
|
|
{{- if (.Get "showfirstheading") }}
|
2023-11-20 23:53:33 +00:00
|
|
|
{{- warnf "%q: UNSUPPORTED parameter 'showfirstheading' for shortcode 'include' found, use 'hidefirstheading' instead; see https://mcshelby.github.io/hugo-theme-relearn/basics/migration#420" .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
|
|
|
) }}
|