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" . }} {{ partial "header.html" . }}
{{ if eq .Kind "section" }} {{ if eq .Kind "section" }}
{{ .Content }} {{ partial "content.html" . }}
{{end}} {{end}}
{{ if or (eq .Kind "taxonomy") (eq .Kind "term") }} {{ if or (eq .Kind "taxonomy") (eq .Kind "term") }}

View file

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

View file

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