Skip to content

Commit

Permalink
Update languages.html
Browse files Browse the repository at this point in the history
Solve Vimux#378
  • Loading branch information
natrius authored Jan 4, 2025
1 parent 0fef2a5 commit 29bf196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 All @@ -17,4 +17,4 @@ <h4 class="widget__title">{{ T "languages_title" }}</h4>
</ul>
</div>
</div>
{{- end }}
{{- end }}

0 comments on commit 29bf196

Please sign in to comment.