mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
fe7eb1d432
in shortcodes and shortcode output
6 lines
197 B
HTML
6 lines
197 B
HTML
{{- $file := .Get 0 }}
|
|
{{- $showFirstHeading := .Get 1 | default true }}
|
|
<div class="include{{ if not $showFirstHeading }} hide-first-heading{{ end }}">
|
|
|
|
{{ $file | readFile | safeHTML }}
|
|
</div>
|