This commit is contained in:
Jan-Lukas Else 2020-12-23 17:42:12 +01:00
parent 818a1c23c2
commit 386b75f237
1 changed files with 3 additions and 2 deletions

View File

@ -6,8 +6,8 @@
{{ end }}
{{ define "main" }}
<main>
{{ with .Data.Title }}<h1>{{ . }}</h1>{{ end }}
<main class="h-feed">
{{ with .Data.Title }}<h1 class="p-name">{{ . }}</h1>{{ end }}
{{ with .Data.Description }}{{ md . }}{{ end }}
{{ if (or .Data.Title .Data.Description) }}
<hr>
@ -23,6 +23,7 @@
{{ if .Data.HasNext }}
<p><a href="{{ .Data.Next }}">{{ string .Blog.Lang "next" }}</a></p>
{{ end }}
{{ include "author" . }}
</main>
{{ end }}