diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 3dcf70b..edaa953 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -57,7 +57,7 @@ We recommend that you search existing [issues][issues] or discussions before ope ### Local development setup -- [Hugo][hugo] >= v0.115.0 (extended version) +- [Hugo][hugo] >= v0.124.0 (extended version) - [Node.js][nodejs] - [Go][go] diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index b5796ff..79469f0 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -31,7 +31,7 @@ jobs: build: runs-on: ubuntu-latest env: - HUGO_VERSION: 0.124.1 + HUGO_VERSION: 0.126.1 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 207162a..61cbb11 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -20,7 +20,7 @@ {{- partial "language-switch.html" (dict "context" .) -}} {{- with $displayThemeToggle }}{{ partial "theme-toggle.html" }}{{ end -}} - {{- if or site.IsMultiLingual $displayThemeToggle -}} + {{- if or hugo.IsMultilingual $displayThemeToggle -}}
{{- end -}} {{- end -}} diff --git a/layouts/partials/language-switch.html b/layouts/partials/language-switch.html index 6326c59..a9b6557 100644 --- a/layouts/partials/language-switch.html +++ b/layouts/partials/language-switch.html @@ -5,7 +5,7 @@ {{- $changeLanguage := (T "changeLanguage") | default "Change language" -}} -{{- if site.IsMultiLingual -}} +{{- if hugo.IsMultilingual -}}