diff options
| author | jamie <git@skilet.ro> | 2025-09-17 16:13:12 +0100 |
|---|---|---|
| committer | jamie <git@skilet.ro> | 2025-09-17 16:13:12 +0100 |
| commit | 0d7aeaa8def0ffb635361a266425df1c50dc4594 (patch) | |
| tree | d73edf6bc82cefb99e4f868987102781526bb059 /site.hs | |
| parent | dd4801db78fc7118c90e6d10f5776fb99ce8c814 (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.hs | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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" -------------------------------------------------------------------------------- |
