From 43a84b6a29a67009b47c6c8a3bb827c7b2634392 Mon Sep 17 00:00:00 2001 From: Jonathan Partain Date: Fri, 17 Nov 2023 17:16:30 +0100 Subject: [PATCH] Modified config, data etc to suit the new posts setup. Modified github build step to build with future flag, in order to display events and posts happening in the future --- .github/workflows/deploy.yml | 1 + README.md | 2 +- _config.yml | 15 --------------- _data/theme.yml | 5 ++++- scripts/dev.sh | 2 +- 5 files changed, 7 insertions(+), 18 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4bf31f1..2c73eab 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -34,6 +34,7 @@ jobs: with: source: ./ destination: ./_site + future: true - name: Upload artifact uses: actions/upload-pages-artifact@v2 diff --git a/README.md b/README.md index d2b6936..83742bf 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ $ bundle install ### Run (local level) ```sh -$ bundle exec jekyll serve --config "_config.yml,_config_local.yml" +$ bundle exec jekyll serve --config "_config.yml,_config_local.yml" --future ``` Or, more simply diff --git a/_config.yml b/_config.yml index 2a69345..bbdfa14 100644 --- a/_config.yml +++ b/_config.yml @@ -15,18 +15,3 @@ paginate_path: /page:num/ plugins: - jekyll-paginate - -collections: - communityposts: - output: true - permalink: /posts/:path/ - -defaults: - - scope: - path: "_communityposts" - type: communityposts - values: - layout: posts - read_time: true - - diff --git a/_data/theme.yml b/_data/theme.yml index f34f53e..59d0a29 100644 --- a/_data/theme.yml +++ b/_data/theme.yml @@ -3,4 +3,7 @@ skin: night # default, night, plum, sea, soft, steel navigation_pages: - join_skip.md - membership.md - - communityposts.md + - posts.md + +t: + posts: Posts and Events diff --git a/scripts/dev.sh b/scripts/dev.sh index 748fa0d..7507605 100755 --- a/scripts/dev.sh +++ b/scripts/dev.sh @@ -3,4 +3,4 @@ # Run the jekyll server locally in development mode; # that is, changes are reflected immediately in the browser. -bundle exec jekyll serve --config "_config.yml,_config_local.yml" +bundle exec jekyll serve --config "_config.yml,_config_local.yml" --future