Browse Source

include optional pre-content partial template

Alexander Avery 3 months ago
parent
commit
7f94652c14
  1. 4
      layouts/_default/single.html

4
layouts/_default/single.html

@ -8,6 +8,10 @@
{{ .TableOfContents }}
{{ end }}
{{ if templates.Exists "partials/pre-content.html" }}
{{ partial "pre-content.html" . }}
{{ end }}
{{ .Content }}
<p>

Loading…
Cancel
Save