mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
Add content template
This commit is contained in:
parent
449708afd4
commit
49882c4ae6
3 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
{{ partial "header.html" . }}
|
||||
|
||||
{{ if eq .Kind "section" }}
|
||||
{{ .Content }}
|
||||
{{ partial "content.html" . }}
|
||||
{{end}}
|
||||
|
||||
{{ if or (eq .Kind "taxonomy") (eq .Kind "term") }}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{ partial "header.html" . }}
|
||||
|
||||
{{ .Content }}
|
||||
{{ partial "content.html" . }}
|
||||
|
||||
<footer class="footline">
|
||||
{{with .Params.LastModifierDisplayName}}
|
||||
|
|
1
layouts/partials/content.html
Normal file
1
layouts/partials/content.html
Normal file
|
@ -0,0 +1 @@
|
|||
{{ .Content }}
|
Loading…
Reference in a new issue