mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
Merge branch 'helfper-content-template' into 2.0.0
This commit is contained in:
commit
2ed17741c3
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") }}
|
||||
|
@ -19,4 +19,4 @@
|
|||
{{end}}
|
||||
</footer>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
{{ partial "footer.html" . }}
|
||||
|
|
|
@ -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