aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/templates/coins-designs.html.tmpl
diff options
context:
space:
mode:
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>