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. --- posts/2025-06-20-vr-plus-nixos-plus-nvidia.md | 1 + site.hs | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/posts/2025-06-20-vr-plus-nixos-plus-nvidia.md b/posts/2025-06-20-vr-plus-nixos-plus-nvidia.md index 3c6b90e..a04486e 100644 --- a/posts/2025-06-20-vr-plus-nixos-plus-nvidia.md +++ b/posts/2025-06-20-vr-plus-nixos-plus-nvidia.md @@ -1,5 +1,6 @@ --- title: VR + NixOS + Nvidia +modified: June 21, 2025 --- For the longest time, getting VR working nicely with Linux (and especially NixOS) was a monumental task. 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