mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +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 }}
|
||||
{{- if not $showFirstHeading }}<div class="include hide-first-heading">{{ end }}
|
||||
|
||||
{{ $file | readFile | safeHTML -}}
|
||||
{{ $file | readFile | safeHTML }}
|
||||
|
||||
{{- if not $showFirstHeading }}</div>{{ end }}
|
Loading…
Reference in a new issue