hugo-theme-relearn/layouts/partials/article.html
2022-04-02 15:29:34 +02:00

11 lines
No EOL
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 }}