mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
include: fix whitespacing in codefences #723
This commit is contained in:
parent
0f6620a9ff
commit
55614246d9
1 changed files with 4 additions and 4 deletions
|
@ -9,11 +9,11 @@
|
|||
{{- $hideFirstHeading = (eq $hideFirstHeading "true") }}
|
||||
{{- end }}
|
||||
{{- if and (gt (len (trim $file " ")) 0) (fileExists $file) }}
|
||||
{{- if $hideFirstHeading }}<div class="include hide-first-heading">{{ end }}
|
||||
{{- if $hideFirstHeading }}<div class="include hide-first-heading">
|
||||
|
||||
{{ end }}
|
||||
{{- with $page }}
|
||||
|
||||
{{ $file | readFile | safeHTML }}
|
||||
|
||||
{{- $file | readFile | safeHTML }}
|
||||
{{- end }}
|
||||
{{- if $hideFirstHeading }}</div>{{ end }}
|
||||
{{- end }}
|
Loading…
Reference in a new issue