Skip to content

Commit

Permalink
Update hugo to 0.119.0 and fix waning for using .Path
Browse files Browse the repository at this point in the history
  • Loading branch information
filiphr committed Oct 15, 2023
1 parent 59e75bc commit 4a0853e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.63.2'
hugo-version: '0.119.0'

- name: Build
run: scripts/generate-site.sh
Expand Down
2 changes: 1 addition & 1 deletion themes/mapstruct/layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<!-- a single news post; they don't have a menu -->
{{- if eq $currentPage.IsNode false -}}
{{- if and ( eq "News" .Name ) ( in $currentPage.Path "news" ) -}}
{{- if and ( eq "News" .Name ) ( eq $currentPage.Section "news" ) -}}
{{- $.Scratch.Set "active" true -}}
{{- end -}}
{{- end }}
Expand Down

0 comments on commit 4a0853e

Please sign in to comment.