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