mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-12-02 12:13:05 +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>
|