Skip to content

Commit

Permalink
Update submodule branch, Hugo version, and pagination
Browse files Browse the repository at this point in the history
Set the Ananke theme submodule to use the main branch. Changed the Hugo version to latest in the Docker workflow configuration. Refactored pagination setting into a dedicated section in config.toml.
  • Loading branch information
verwoerd committed Oct 30, 2024
1 parent 90b825a commit a723c0e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0. 135.0'
hugo-version: 'latest'
extended: true
- name: Build
run: hugo --minify --noTimes=false
Expand Down
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "themes/ananke"]
path = themes/ananke
url = https://github.com/theNewDynamic/gohugo-theme-ananke.git
branch = main
4 changes: 3 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ theme = "ananke"
copyright = "W.I.S.V. `Christiaan Huygens'"

SectionPagesMenu = "main"
Paginate = 5
enableRobotsTXT = true

[pagination]
pagerSize = 5

[markup.goldmark.renderer]
unsafe = true

Expand Down
2 changes: 1 addition & 1 deletion themes/ananke
Submodule ananke updated 540 files

0 comments on commit a723c0e

Please sign in to comment.