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 24a9ba3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,10 @@ jobs:
${{ runner.os }}-lfs-
- name: Git LFS Pull
run: git lfs pull
# remove the git lfs directory to free up disk space
- name: Remove File
uses: JesseTG/[email protected]
with:
path: ./git/lfs
- 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 24a9ba3

Please sign in to comment.