fix last mod time on pages
This commit is contained in:
parent
62d960d5aa
commit
3cb85e3f89
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
<h1 class="single-title">{{ .Title }}</h1>
|
<h1 class="single-title">{{ .Title }}</h1>
|
||||||
<p class="single-description">{{ .Description | markdownify }}</p>
|
<p class="single-description">{{ .Description | markdownify }}</p>
|
||||||
{{ if and ( .Lastmod ) ( ne .Lastmod .PublishDate) }}
|
{{ if and ( .Lastmod ) ( ne .Lastmod .PublishDate) }}
|
||||||
<time class="single-date" datetime="{{ .Lastmod }}" title="{{ .Lastmod }}">Last updated {{ .Lastmod.UTC.Format "January" }} {{ .Lastmod.UTC.Format "2" | humanize }}, {{ .Lastmod.UTC.Format "2006" }}.</time>
|
<!--<time class="single-date" datetime="{{ .Lastmod }}" title="{{ .Lastmod }}">Last updated {{ .Lastmod.UTC.Format "January" }} {{ .Lastmod.UTC.Format "2" | humanize }}, {{ .Lastmod.UTC.Format "2006" }}.</time> -->
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue