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,5 +1,5 @@
{{ $pageURL:= .RelPermalink }}
{{ if site.IsMultiLingual }}
{{ if hugo.IsMultilingual }}
{{ $pageURL = strings.TrimPrefix (path.Join "/" .Language.Lang) $pageURL }}
{{ end }}
<li class="nav-item dropdown">