mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-17 09:10:08 +00:00
include: amend #110
This commit is contained in:
parent
2f80ccf115
commit
fc7845df7d
1 changed files with 2 additions and 1 deletions
|
@ -2,5 +2,6 @@
|
||||||
{{- $showFirstHeading := .Get 1 | default true }}
|
{{- $showFirstHeading := .Get 1 | default true }}
|
||||||
{{- if not $showFirstHeading }}<div class="include hide-first-heading">{{ end }}
|
{{- if not $showFirstHeading }}<div class="include hide-first-heading">{{ end }}
|
||||||
|
|
||||||
{{ $file | readFile | safeHTML -}}
|
{{ $file | readFile | safeHTML }}
|
||||||
|
|
||||||
{{- if not $showFirstHeading }}</div>{{ end }}
|
{{- if not $showFirstHeading }}</div>{{ end }}
|
Loading…
Add table
Reference in a new issue