mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-05-01 02:32:34 +08:00
Merge branch 'content-template' of git://github.com/helfper/hugo-theme-relearn into helfper-content-template
This commit is contained in:
commit
a47e7a6871
@ -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…
x
Reference in New Issue
Block a user