Make links language-aware #101
|
@ -1,7 +1,6 @@
|
||||||
<h2 id="badges">{{ i18n "badges_headline" }}</h2>
|
<h2 id="badges">{{ i18n "badges_headline" }}</h2>
|
||||||
|
|
||||||
<section class="badge-definitions">
|
<section class="badge-definitions">
|
||||||
{{/* TODO: This needs to be sensitive to current language */}}
|
|
||||||
{{- $translated_badges := index $.Site.Data.badges .Lang }}
|
{{- $translated_badges := index $.Site.Data.badges .Lang }}
|
||||||
{{ range $badge_key, $badge := $translated_badges.badges.badges }}
|
{{ range $badge_key, $badge := $translated_badges.badges.badges }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue