fix/not-deploying-hugo-v159 #9
@@ -45,18 +45,19 @@
|
|||||||
{{ T "article.readingTime" $Page.ReadingTime }}
|
{{ T "article.readingTime" $Page.ReadingTime }}
|
||||||
</time>
|
</time>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{- $date := $Page.Date.Format "20060102" | int -}}
|
||||||
|
{{- $lastmod := $Page.Lastmod.Format "20060102" | int -}}
|
||||||
|
{{- if gt $lastmod $date -}}
|
||||||
|
<div class="article-lastmod">
|
||||||
|
{{ partial "helper/icon" "refresh" }}
|
||||||
|
<time>
|
||||||
|
{{ T "article.lastUpdatedOn" }} {{ $Page.Lastmod | time.Format ( or $Page.Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
|
||||||
|
</time>
|
||||||
|
</div>
|
||||||
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{- $date := $Page.Date.Format "20060102" | int -}}
|
|
||||||
{{- $lastmod := $Page.Lastmod.Format "20060102" | int -}}
|
|
||||||
{{- if gt $lastmod $date -}}
|
|
||||||
<div class="article-lastmod">
|
|
||||||
{{ partial "helper/icon" "refresh" }}
|
|
||||||
<time>
|
|
||||||
{{ T "article.lastUpdatedOn" }} {{ $Page.Lastmod | time.Format ( or $Page.Site.Params.dateFormat.lastUpdated "Jan 02, 2006 15:04 MST" ) }}
|
|
||||||
</time>
|
|
||||||
</div>
|
|
||||||
{{- end -}}
|
|
||||||
</footer>
|
</footer>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user