hugo-theme-relearn/layouts/partials/article.html

11 lines
433 B
HTML
Raw Normal View History

{{- $content := .content }}
{{- with .page }}
<article{{if .Params.chapter}} class="chapter"{{end}}>
{{ if and (not .IsHome ) (not .Params.chapter) }}{{- partial "heading-pre.html" . }}<h1>{{ .Title }}</h1>{{- partial "heading-post.html" . }}
{{ end }}{{ $content | safeHTML }}
<footer class="footline">
{{- partial "content-footer.html" . }}
</footer>
</article>
{{- end }}