From a0d1facf1c19114f0c67ff13d0eb6d2b3e354522 Mon Sep 17 00:00:00 2001 From: Falk Mielke Date: Fri, 21 Feb 2025 13:43:35 +0100 Subject: [PATCH 1/2] hugo_update: work with latest versions of hugo and minimo --- README.md | 4 ++-- config.toml | 2 +- layouts/partials/entry/meta/edit-page.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1ebd7f1ac..a2eebc9a1 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The technology used to create the website is [Hugo](https://gohugo.io/), a stati 1. [Install hugo](https://gohugo.io/getting-started/installing/) 2. Clone the tutorials repository -3. In the cloned tutorials directory, install the theme with `git clone https://github.com/MunifTanjim/minimo.git --branch v2.9.0 themes/minimo` +3. In the cloned tutorials directory, install the theme with `git clone https://github.com/MunifTanjim/minimo.git themes/minimo` 4. Build and serve the site with `hugo server` For more information, see [Hugo's getting started documentation](https://gohugo.io/getting-started/usage/). @@ -48,4 +48,4 @@ For more information, see the [Hugo theme customization documentation](https://g ## License -[Creative Commons Attribution](https://creativecommons.org/licenses/by/4.0/) for [content](content) / [MIT License](https://github.com/inbo/tutorials/blob/master/LICENSE) for source code. \ No newline at end of file +[Creative Commons Attribution](https://creativecommons.org/licenses/by/4.0/) for [content](content) / [MIT License](https://github.com/inbo/tutorials/blob/master/LICENSE) for source code. diff --git a/config.toml b/config.toml index a0f0e176b..f553b1d70 100644 --- a/config.toml +++ b/config.toml @@ -12,7 +12,7 @@ copyright = "" disqusShortname = "" googleAnalytics = "" -Paginate = 1000 +pagination.pagerSize = 1000 preserveTaxonomyNames = true enableRobotsTXT = true # generate robots.txt diff --git a/layouts/partials/entry/meta/edit-page.html b/layouts/partials/entry/meta/edit-page.html index 7ebc3e2d2..476d85f79 100644 --- a/layouts/partials/entry/meta/edit-page.html +++ b/layouts/partials/entry/meta/edit-page.html @@ -11,7 +11,7 @@ {{ end }} {{ with .Site.Params.githublink.GithubEditLink }} - {{- partial "svg/icons" "github" -}} Improve this page + {{- partial "svg/icon" "github" -}} Improve this page {{ end }} {{ end }} From 6577e5a8a6e0ed4f495a453ac01f812b54fa7ed9 Mon Sep 17 00:00:00 2001 From: Falk Mielke Date: Fri, 21 Feb 2025 13:47:59 +0100 Subject: [PATCH 2/2] hugo_update: gha workflow version update --- .github/workflows/deploy-gh-pages.yml | 6 +++--- .github/workflows/generate-artifact-pr.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index c272c3d7f..1f2248f47 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -19,13 +19,13 @@ jobs: uses: actions/checkout@v3 with: repository: MunifTanjim/minimo - ref: v2.9.0 + ref: v2.10.1 path: themes/minimo - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v3 with: - hugo-version: '0.88.1' + hugo-version: '0.119.0' # extended: true - name: Build diff --git a/.github/workflows/generate-artifact-pr.yml b/.github/workflows/generate-artifact-pr.yml index b7b5bb2ac..d8521c9b0 100644 --- a/.github/workflows/generate-artifact-pr.yml +++ b/.github/workflows/generate-artifact-pr.yml @@ -18,13 +18,13 @@ jobs: uses: actions/checkout@v3 with: repository: MunifTanjim/minimo - ref: v2.9.0 + ref: v2.10.1 path: themes/minimo - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v3 with: - hugo-version: '0.88.1' + hugo-version: '0.119.0' # extended: true - name: Build