From 04bd44a5cf60fd23b9a49163b590bc439690cae8 Mon Sep 17 00:00:00 2001 From: Mantas VilĨinskas Date: Sun, 2 Oct 2022 13:41:35 +0300 Subject: fix #246 --- layouts/partials/index/components.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/index/components.html b/layouts/partials/index/components.html index 9b9b082..e3a0d89 100644 --- a/layouts/partials/index/components.html +++ b/layouts/partials/index/components.html @@ -131,7 +131,7 @@ if (highlestLevelStatus === 'ok') { highlestLevelStatusReadable = '{{ T "thisIsOk" }}' } if (highlestLevelStatus === 'notice') { highlestLevelStatusReadable = '{{ T "thisIsNotice" }}' } - if (highlestLevelStatus === 'dsirupted') { highlestLevelStatusReadable = '{{ T "thisIsDisrupted" }}' } + if (highlestLevelStatus === 'disrupted') { highlestLevelStatusReadable = '{{ T "thisIsDisrupted" }}' } if (highlestLevelStatus === 'down') { highlestLevelStatusReadable = '{{ T "thisIsDown" }}' } // Finally we can show the status -- cgit v1.2.3-70-g09d2 From d2572480c5272a69aa4a5a1d9e2db6ecbbd59469 Mon Sep 17 00:00:00 2001 From: Shingo Omura Date: Fri, 28 Oct 2022 12:51:16 +0900 Subject: Respect timezone even when enableLastMod and dateFormat is set --- layouts/issues/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/issues/single.html b/layouts/issues/single.html index 402c794..0dd8052 100644 --- a/layouts/issues/single.html +++ b/layouts/issues/single.html @@ -21,7 +21,7 @@

{{ T "lastChecked" }}: {{ if .Site.Params.dateFormat }} - {{ .Lastmod.UTC.Format .Site.Params.dateFormat }} + {{ .Lastmod.Format .Site.Params.dateFormat }} {{ else }} {{ .Lastmod.Format "January 2, 2006 at 3:04 PM" }} {{ end }} -- cgit v1.2.3-70-g09d2