Skip to content

Commit

Permalink
Modified config, data etc to suit the new posts setup. Modified githu…
Browse files Browse the repository at this point in the history
…b build step to build with future flag, in order to display events and posts happening in the future
  • Loading branch information
JonathanPartain committed Nov 17, 2023
1 parent bc058dc commit 43a84b6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 18 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
with:
source: ./
destination: ./_site
future: true
- name: Upload artifact
uses: actions/upload-pages-artifact@v2

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 0 additions & 15 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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


5 changes: 4 additions & 1 deletion _data/theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion scripts/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 43a84b6

Please sign in to comment.