mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 11:13:06 +00:00
6 lines
192 B
HTML
6 lines
192 B
HTML
{{ $file := .Get 0 }}
|
|
{{ $showFirstHeading := .Get 1 | default true }}
|
|
<div class="include{{if not $showFirstHeading }} hide-first-heading{{end}}">
|
|
|
|
{{ $file | readFile | safeHTML }}
|
|
</div>
|