aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/templates/coins-designs.html.tmpl
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-07-23 22:18:23 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-07-23 22:18:23 +0200
commitcd42aaf59b1bd950f11bccdb04b8bca2e29b63ea (patch)
treef3891b1b56cfda61dc3ecf288c84c6b4de27b35b /src/templates/coins-designs.html.tmpl
parent39ef34912e46019e72bf342075d12d6d66416ded (diff)
More some pages to the new translations system
Diffstat (limited to 'src/templates/coins-designs.html.tmpl')
-rw-r--r--src/templates/coins-designs.html.tmpl17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/templates/coins-designs.html.tmpl b/src/templates/coins-designs.html.tmpl
index 05ff440..8cd8c84 100644
--- a/src/templates/coins-designs.html.tmpl
+++ b/src/templates/coins-designs.html.tmpl
@@ -1,17 +1,12 @@
{{ define "content" }}
<header>
{{ template "navbar" . }}
- <h1>{{ .T "Euro Coin Designs" }}</h1>
+ <h1>{{ .Get "Euro Coin Designs" }}</h1>
</header>
<main>
<p>
- {{ .T `
- Here you’ll be able to view all the coin designs for each country
- in the Eurozone. This section of the site doesn’t include minor
- varieties such as different mintmarks or errors; those are on the
- %svarieties%s page.`
- `<a href="/coins/varieties">` `</a>` | safe
- }}
+ {{ .Get "Here you’ll be able to view all the coin designs for each country in the Eurozone. This section of the site doesn’t include minor varieties such as different mintmarks or errors; those are on the {Link:l}varieties{-:E} page."
+ (map "Link" "/coins/varieties") }}
</p>
<hr />
<div class="country-grid">
@@ -19,11 +14,11 @@
{{ range .Countries }}
<a
class="outline"
- data-code={{ toUpper .Code }}
+ data-code="{{ toUpper .Code }}"
role="button"
- href=/coins/designs/{{ .Code }}
+ href="/coins/designs/{{ .Code }}"
>
- {{ $p.T .Name }}
+ {{ $p.Get .Name }}
</a>
{{ end }}
</div>