[blog] add article
Mainly for compatibility with Firefox Reader View.
This commit is contained in:
parent
825a375a34
commit
1f7c2d19ad
1 changed files with 20 additions and 22 deletions
|
@ -7,16 +7,12 @@
|
|||
<header id="blog-header">
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
<p>
|
||||
<span
|
||||
id="blog-post-published"
|
||||
title="{{ i18n "blog-post-published" }} {{ .Date | time.Format "2. January 2006, 15:04 MST" }}"
|
||||
>
|
||||
<span id="blog-post-published" title="{{ i18n " blog-post-published" }} {{ .Date |
|
||||
time.Format "2. January 2006, 15:04 MST" }}">
|
||||
{{ .Date | time.Format "2. January 2006" }}
|
||||
</span>
|
||||
<span
|
||||
id="blog-post-updated"
|
||||
title="{{ i18n "blog-post-updated" }} {{ .Lastmod | time.Format "2. January 2006, 15:04 MST" }}"
|
||||
>
|
||||
<span id="blog-post-updated" title="{{ i18n " blog-post-updated" }} {{ .Lastmod |
|
||||
time.Format "2. January 2006, 15:04 MST" }}">
|
||||
{{ i18n "blog-post-updated" }} {{ .Lastmod | time.Format "2. January 2006" }}
|
||||
</span>
|
||||
</p>
|
||||
|
@ -25,7 +21,9 @@
|
|||
|
||||
{{- define "main" }}
|
||||
<main>
|
||||
<article>
|
||||
{{ .Content -}}
|
||||
{{ partial "moreposts.html" . }}
|
||||
</article>
|
||||
</main>
|
||||
{{- end }}
|
Loading…
Reference in a new issue