diff --git a/layouts/partials/article/components/details.html b/layouts/partials/article/components/details.html index 330c29c..e3356db 100644 --- a/layouts/partials/article/components/details.html +++ b/layouts/partials/article/components/details.html @@ -47,13 +47,13 @@ {{ end }} - {{- $date := .Date.Format "20060102" | int -}} - {{- $lastmod := .Lastmod.Format "20060102" | int -}} + {{- $date := $Page.Date.Format "20060102" | int -}} + {{- $lastmod := $Page.Lastmod.Format "20060102" | int -}} {{- if gt $lastmod $date -}}
{{ partial "helper/icon" "refresh" }}
{{- end -}}