include: amend #110

This commit is contained in:
Sören Weber 2021-10-07 21:19:07 +02:00
parent 2f80ccf115
commit fc7845df7d
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -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 }}