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