From ee1b4ac358cce92ef01ec94b74802f530ce98b78 Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 5 Apr 2022 12:54:49 +0200 Subject: [PATCH] small fixes --- themes/buha/layouts/_default/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/buha/layouts/_default/rss.xml b/themes/buha/layouts/_default/rss.xml index 6d9f81f0..130b39c3 100644 --- a/themes/buha/layouts/_default/rss.xml +++ b/themes/buha/layouts/_default/rss.xml @@ -57,7 +57,7 @@ {{ .Permalink }}-{{ $hash }} {{ $updated := "" }} - {{ if gt .Lastmod .Date }} + {{ if gt .Lastmod.Unix .Date.Unix }} {{ $updated = i18n "updated" }} {{ end }} {{- if $when -}}