diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-21 10:09:37 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-21 10:09:37 +0200 |
commit | 492f2df4e93fa151e7809203bca7b92379694665 (patch) | |
tree | e9445154ab357d44c1bdf9d708fc64056a4aae25 /src/templates | |
parent | 33542dac57469b1b988de86be10dcc2c4abc8166 (diff) |
Migrate /coins to Go templates
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/coins.html.tmpl | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/templates/coins.html.tmpl b/src/templates/coins.html.tmpl new file mode 100644 index 0000000..d231ed5 --- /dev/null +++ b/src/templates/coins.html.tmpl @@ -0,0 +1,46 @@ +{{ define "content" }} +<header> + {{ template "navbar" . }} + <h1>{{ .T "Euro Coins" }}</h1> +</header> +<main> + <p> + {{ .T "On this section of the site you can find everything there is to know about the coins of the Eurozone." }} + </p> + <hr /> + <section> + <div class="grid"> + <a class="no-deco" href="/coins/designs"> + <article> + <header> + <h3>{{ .T "Designs" }}</h3> + </header> + <main> + {{ .T "View the 600+ different Euro-coin designs!" }} + </main> + </article> + </a> + <a class="no-deco" href="/coins/mintages"> + <article> + <header> + <h3>{{ .T "Mintages" }}</h3> + </header> + <main> + {{ .T "View the mintage figures of all the Euro coins!" }} + </main> + </article> + </a> + <a class="no-deco" href="/coins/varieties"> + <article> + <header> + <h3>{{ .T "Varieties" }}</h3> + </header> + <main> + {{ .T "View all the known Euro varieties!" }} + </main> + </article> + </a> + </div> + </section> +</main> +{{ end }} |