Skip to content

Commit

Permalink
Merge pull request #2 from natrius/patch-1
Browse files Browse the repository at this point in the history
Update languages.html
  • Loading branch information
mansoorbarri authored Jan 5, 2025
2 parents 0fef2a5 + 29bf196 commit b813329
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 b813329

Please sign in to comment.