mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
Merge branch 'content-template' of git://github.com/helfper/hugo-theme-relearn into helfper-content-template
This commit is contained in:
commit
a47e7a6871
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