Skip to content

Commit

Permalink
.Site.IsMultiLingual was deprecated in Hugo v0.124.0 and will be remo…
Browse files Browse the repository at this point in the history
…ved in Hugo 0.141.0. Use hugo.IsMultilingual
  • Loading branch information
Scythemen committed Jan 14, 2025
1 parent 13e04b3 commit 7d7f267
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 7d7f267

Please sign in to comment.