Added read times
This commit is contained in:
parent
221fb3039e
commit
d30ee41818
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
<h1 style="margin-bottom: 1px"> {{.Title}} </h1>
|
<h1 style="margin-bottom: 1px"> {{.Title}} </h1>
|
||||||
{{- partial "taglist.html" . -}}
|
{{- partial "taglist.html" . -}}
|
||||||
<time datetime="{{.Params.date.Format "2006-01-02T15:04:05"}}" class="index-article__date">
|
<time datetime="{{.Params.date.Format "2006-01-02T15:04:05"}}" class="index-article__date">
|
||||||
{{.Params.date.Format "2 January 2006"}}
|
{{ .Params.date.Format "2 January 2006" }} · {{ .ReadingTime }} mins
|
||||||
</time>
|
</time>
|
||||||
<hr>
|
<hr>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
<p>{{.Summary | safeHTML}}</p>
|
<p>{{.Summary | safeHTML}}</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<span class="summary__date">
|
<span class="summary__date">
|
||||||
{{.Params.date.Format "2 January 2006"}}
|
{{ .Params.date.Format "2 January 2006" }} · {{ .ReadingTime }} mins
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{ if .Params.thumbnail }}
|
{{ if .Params.thumbnail }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue