diff --git a/layouts/partials/article/components/details.html b/layouts/partials/article/components/details.html index 50cc5bd..b337ab1 100644 --- a/layouts/partials/article/components/details.html +++ b/layouts/partials/article/components/details.html @@ -45,7 +45,9 @@ {{ end }} - {{- if ne .Lastmod .Date -}} + {{- $date := .Date.Format "2006-01-02" -}} + {{- $lastmod := .Lastmod.Format "2006-01-02" -}} + {{- if ne $lastmod $date -}}
{{ partial "helper/icon" "refresh" }}