Währungen in Kleinbuchstaben und kleine Fixes

This commit is contained in:
2026-05-29 01:17:34 +02:00
parent f1d88eda64
commit 3631674ee3
8 changed files with 17 additions and 22 deletions

View File

@@ -5,8 +5,7 @@
{{ if $pb.ok }}
{{ $filtered := dict }}
{{ range $slug, $data := $units }}
{{ $slugLower := lower $slug }}
{{ if or (eq $slugLower "eur") (in $pb.currencies $slugLower) }}
{{ if or (eq $slug "eur") (in $pb.currencies $slug) }}
{{ $filtered = merge $filtered (dict $slug $data) }}
{{ end }}
{{ end }}