mirror of https://github.com/jlelse/GoBlog
h-feed
This commit is contained in:
parent
818a1c23c2
commit
386b75f237
|
@ -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 }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue