Fix deprecation warnings emitted by hugo v0.124

This commit is contained in:
Andreas Deininger 2024-03-19 21:43:33 +01:00
parent faf432751f
commit 56b053ca8e
8 changed files with 11 additions and 11 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">