summaryrefslogtreecommitdiff
path: root/site.hs
diff options
context:
space:
mode:
authorjamie <git@skilet.ro>2025-09-17 16:13:12 +0100
committerjamie <git@skilet.ro>2025-09-17 16:13:12 +0100
commit0d7aeaa8def0ffb635361a266425df1c50dc4594 (patch)
treed73edf6bc82cefb99e4f868987102781526bb059 /site.hs
parentdd4801db78fc7118c90e6d10f5776fb99ce8c814 (diff)
fix: hard-code modification time instead of using file modification metadata
Doesn't work super well with GitHub Actions.
Diffstat (limited to 'site.hs')
-rw-r--r--site.hs5
1 files changed, 1 insertions, 4 deletions
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"
--------------------------------------------------------------------------------