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