From 369e06bb26cbb15c111f63f71c8801a174861209 Mon Sep 17 00:00:00 2001 From: Amneesh Singh Date: Mon, 24 Oct 2022 09:56:35 +0530 Subject: [PATCH] remove modification time for now Signed-off-by: Amneesh Singh --- .woodpecker/ci.yml | 4 ++-- posts/done-with-concourse-ci.org | 2 +- src/site.hs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml index 91f5b34..5fddfda 100644 --- a/.woodpecker/ci.yml +++ b/.woodpecker/ci.yml @@ -1,7 +1,7 @@ pipeline: build-and-deploy: image: nixos/nix:latest - environment: + environment: - TARGET_HOST=weirdnatto.in - TARGET_PORT=22001 commands: @@ -14,7 +14,7 @@ pipeline: - mkdir -p ~/.ssh - ssh-keyscan -p $TARGET_PORT $TARGET_HOST >> ~/.ssh/known_hosts - echo "$REMOTE_KEY" | ssh-add - - - rsync --checksum -ave "ssh -p $TARGET_PORT" + - rsync --checksum -ave "ssh -p $TARGET_PORT" site/* root@$TARGET_HOST:/var/lib/site secrets: [ cachix_auth_token, cachix_name, remote_key ] diff --git a/posts/done-with-concourse-ci.org b/posts/done-with-concourse-ci.org index 8b5233f..d95010a 100644 --- a/posts/done-with-concourse-ci.org +++ b/posts/done-with-concourse-ci.org @@ -3,7 +3,7 @@ title: I am done with ConcourseCI author: natto tags: ci, devops, concourse published: October 20, 2022 -modified: October 23, 2022 +modified: October 24, 2022 enabletoc: true --- diff --git a/src/site.hs b/src/site.hs index 3145f4e..e86c7c7 100644 --- a/src/site.hs +++ b/src/site.hs @@ -141,7 +141,7 @@ postCtx tags = -- <> teaserFieldWithSeparator "((.tease.))" "teaser" "content" <> dateField "date" "%B %e, %Y" <> dateField "altdate" "%Y-%m-%d" - <> modificationTimeField "modified" "%B %e, %Y" + -- <> modificationTimeFieldWith TimeLocale.knownTimeZones. "modified" "%B %e, %Y" <> teaserField "teaser" "content" <> defaultCtx