mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 11:13:06 +00:00
11 lines
362 B
HTML
11 lines
362 B
HTML
|
{{- $content := .content }}
|
||
|
{{- with .page }}
|
||
|
<article{{if .Params.chapter}} class="chapter"{{end}}>
|
||
|
|
||
|
{{ if and (not .IsHome ) (not .Params.chapter) }}<h1>{{ .Title }}</h1>
|
||
|
{{ end }}{{ $content | safeHTML }}
|
||
|
<footer class="footline">
|
||
|
{{- partial "content-footer.html" . }}
|
||
|
</footer>
|
||
|
</article>
|
||
|
{{- end }}
|