Replace .Site.IsMultiLingual with hugo.IsMultilingual

This commit is contained in:
Jonathan Neidel
2024-08-25 13:05:20 +02:00
parent 6cbc0ccd63
commit 8fd3cfb13d
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
{{ with page }}
{{ if .IsTranslated }}
{{ $currentLang := .Page.Lang }}
{{ if site.IsMultiLingual }}
{{ if hugo.IsMultilingual }}
<div class="group relative">
<button
class="group-dark:hover:text-primary-400 flex w-full items-center justify-end transition-colors group-hover:text-primary-600"