From 57924ff2851a78aaae05c0bb2e6d91268744c648 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Fri, 8 Nov 2024 11:56:27 -0500 Subject: [PATCH 1/2] actions: Use non-deprecated "upload-artifact" action. --- .github/workflows/check_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_pr.yml b/.github/workflows/check_pr.yml index b2604a93..593caeee 100644 --- a/.github/workflows/check_pr.yml +++ b/.github/workflows/check_pr.yml @@ -13,7 +13,7 @@ jobs: - name: Make the static files run: make static - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: static-website path: output From de186a7ecc3d1a7f177d5eddb47c77ae784223e3 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Fri, 8 Nov 2024 11:50:34 -0500 Subject: [PATCH 2/2] hugo: Switch multilingual detection method. ".Site.IsMultiLingual" is deprecated. This commit changes to using "hugo.IsMultilingual" instead. --- src/themes/hugo-theme-learn/layouts/partials/menu.html | 4 ++-- src/themes/hugo-theme-learn/layouts/partials/search.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/themes/hugo-theme-learn/layouts/partials/menu.html b/src/themes/hugo-theme-learn/layouts/partials/menu.html index 5583eda0..bcd62015 100644 --- a/src/themes/hugo-theme-learn/layouts/partials/menu.html +++ b/src/themes/hugo-theme-learn/layouts/partials/menu.html @@ -39,11 +39,11 @@

{{ if not $disableShortcutsTitle}}{{ T "Shortcuts-Title"}}{{ end }}

{{end}} - {{ if or .Site.IsMultiLingual $showvisitedlinks }} + {{ if or hugo.IsMultilingual $showvisitedlinks }}