From f4012a339192e33663be903006465455df343732 Mon Sep 17 00:00:00 2001 From: Vezpi Date: Thu, 2 Apr 2026 19:10:52 +0000 Subject: [PATCH] fix: lastUpdateOn --- layouts/partials/article/components/details.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -}}