Fix deprecation warnings (#908)

* Example site: bump hugo modules to latest versions

* Fix deprecation warnings emitted by hugo v0.124

* Fix typos

* Netlify: bump hugo version

---------

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
This commit is contained in:
Andreas Deininger 2024-05-10 20:00:29 +02:00 committed by GitHub
parent 6f4e23ad40
commit 3edd8e7858
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 66 additions and 64 deletions

View file

@ -1,7 +1,7 @@
{{/* Uses the top level site's config for a single author across all locales */}}
{{ $authorName:= site.Params.author.name }}
{{/* Overrides with the locale specifc author if provided */}}
{{/* Overrides with the locale specific author if provided */}}
{{ if (index site.Data site.Language.Lang).author }}
{{ $authorName = (index site.Data site.Language.Lang).author.name }}
{{ end }}