From 24a9ba3f8d931c216bd81c55073892c08ee011c9 Mon Sep 17 00:00:00 2001 From: Verwoerd Date: Wed, 30 Oct 2024 20:57:13 +0100 Subject: [PATCH] Update submodule branch, Hugo version, and pagination 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. --- .github/workflows/docker.yml | 7 +------ .gitmodules | 1 + config.toml | 4 +++- themes/ananke | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e0e130a..24009a2 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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/rm@v1.0.3 - 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 diff --git a/.gitmodules b/.gitmodules index 5154615..4922e11 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,4 @@ [submodule "themes/ananke"] path = themes/ananke url = https://github.com/theNewDynamic/gohugo-theme-ananke.git + branch = main diff --git a/config.toml b/config.toml index cde2ea5..c86dfa9 100644 --- a/config.toml +++ b/config.toml @@ -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 diff --git a/themes/ananke b/themes/ananke index f34c219..e726c8b 160000 --- a/themes/ananke +++ b/themes/ananke @@ -1 +1 @@ -Subproject commit f34c219436ab1c3b116f8706a521d40c4b8693b9 +Subproject commit e726c8b70f6a84812d998da4436765827483e602