Skip to content

Commit

Permalink
fix: change deprecated multilingual attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
anlar committed Oct 29, 2024
1 parent 13e04b3 commit 8d98aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/widgets/languages.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- $translations := .Site.Home.AllTranslations }}
{{- if and .Site.IsMultiLingual (gt (len $translations) 0) }}
{{- if and hugo.IsMultilingual (gt (len $translations) 0) }}
<div class="widget-languages widget">
<h4 class="widget__title">{{ T "languages_title" }}</h4>
<div class="widget__content">
Expand Down

0 comments on commit 8d98aa8

Please sign in to comment.