Make links language-aware #101

Merged
benjaoming merged 3 commits from fix-redirects into main 2023-07-29 16:24:11 +00:00
Showing only changes of commit 2cab915021 - Show all commits

View file

@ -1,7 +1,6 @@
<h2 id="badges">{{ i18n "badges_headline" }}</h2>
<section class="badge-definitions">
{{/* TODO: This needs to be sensitive to current language */}}
{{- $translated_badges := index $.Site.Data.badges .Lang }}
{{ range $badge_key, $badge := $translated_badges.badges.badges }}