Add content template

This commit is contained in:
Helder Pereira 2021-08-24 21:59:46 +01:00
parent 449708afd4
commit 49882c4ae6
3 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{{ partial "header.html" . }}
{{ if eq .Kind "section" }}
{{ .Content }}
{{ partial "content.html" . }}
{{end}}
{{ if or (eq .Kind "taxonomy") (eq .Kind "term") }}
@ -19,4 +19,4 @@
{{end}}
</footer>
{{ partial "footer.html" . }}
{{ partial "footer.html" . }}

View file

@ -1,6 +1,6 @@
{{ partial "header.html" . }}
{{ .Content }}
{{ partial "content.html" . }}
<footer class="footline">
{{with .Params.LastModifierDisplayName}}

View file

@ -0,0 +1 @@
{{ .Content }}