mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 03:03:09 +00:00
4adf99061b
content.html is meant to be overloaded by the user and it should just work so every logic needs to be put somewhere else
4 lines
No EOL
191 B
HTML
4 lines
No EOL
191 B
HTML
{{/* the following check avoids to print out content of headless bundles if called from nestedContent.gotmpl */}}
|
|
{{- if .RelPermalink }}
|
|
{{- partial "content.html" . | safeHTML }}
|
|
{{- end }} |