mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 12:14:52 +08:00
4 lines
193 B
Markdown
4 lines
193 B
Markdown
{{/* the following check avoids to print out content of headless bundles if called from nestedContent.gotmpl */}}
|
|
{{- with and .File .File.Filename -}}
|
|
{{ readFile . | safeHTML }}
|
|
{{- end }} |