Compare commits

..

1 Commits

Author SHA1 Message Date
TnSb ba427a30a7 support lastmod 2024-06-29 13:40:58 -04:00
+1 -1
View File
@@ -13,7 +13,7 @@
<!-- Last Updated Date --> <!-- Last Updated Date -->
{{- if .Lastmod }} {{- if .Lastmod }}
{{- $lastmod := .Lastmod.Format "January 02, 2006" }} {{- $lastmod := .Lastmod.Format "January 02, 2006" }}
{{- if ne $lastmod $pubdate }} {{- if gt .Lastmod .PublishDate }}
<div class="post-info-last-mod"> <div class="post-info-last-mod">
(Updated: (Updated:
<time datetime="{{ .Lastmod }}" title="{{ .Lastmod }}"> <time datetime="{{ .Lastmod }}" title="{{ .Lastmod }}">