From 0d7aeaa8def0ffb635361a266425df1c50dc4594 Mon Sep 17 00:00:00 2001 From: jamie Date: Wed, 17 Sep 2025 16:13:12 +0100 Subject: fix: hard-code modification time instead of using file modification metadata Doesn't work super well with GitHub Actions. --- site.hs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'site.hs') diff --git a/site.hs b/site.hs index dfc2cc7..5933c71 100644 --- a/site.hs +++ b/site.hs @@ -133,14 +133,11 @@ removeIndexHtml item = return $ fmap (withUrls removeIndexStr) item -------------------------------------------------------------------------------- postCtx :: Context String -postCtx = hDateCtx <> cDateCtx <> modifiedCtx <> defaultContext +postCtx = hDateCtx <> cDateCtx <> defaultContext hDateCtx :: Context String hDateCtx = dateField "hdate" "%B %e, %Y" cDateCtx :: Context String cDateCtx = dateField "cdate" "%Y-%m-%d" - -modifiedCtx :: Context String -modifiedCtx = modificationTimeField "modified" "%B %e, %Y" -------------------------------------------------------------------------------- -- cgit v1.3.1