diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-21 11:42:19 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-21 11:42:19 +0200 |
commit | 579b7b3d0b46d45432a7359a417b9f92be934254 (patch) | |
tree | 5dc8ffbf29a53ae17f91c455eccf431c67270972 | |
parent | a1a54d2ba8dd075e896257cfe946b55f0eae3269 (diff) |
Add the /coins/designs/nl page
-rw-r--r-- | src/templates.go | 15 | ||||
-rw-r--r-- | src/templates/coins-designs-nl.html.tmpl | 56 |
2 files changed, 64 insertions, 7 deletions
diff --git a/src/templates.go b/src/templates.go index 787fd04..bf65532 100644 --- a/src/templates.go +++ b/src/templates.go @@ -21,13 +21,14 @@ var ( notFoundTmpl = buildTemplate("404") errorTmpl = buildTemplate("error") templates = map[string]*template.Template{ - "/": buildTemplate("index"), - "/about": buildTemplate("about"), - "/coins": buildTemplate("coins"), - "/coins/designs": buildTemplate("coins-designs"), - "/coins/mintages": buildTemplate("coins-mintages"), - "/jargon": buildTemplate("jargon"), - "/language": buildTemplate("language"), + "/": buildTemplate("index"), + "/about": buildTemplate("about"), + "/coins": buildTemplate("coins"), + "/coins/designs": buildTemplate("coins-designs"), + "/coins/designs/nl": buildTemplate("coins-designs-nl"), + "/coins/mintages": buildTemplate("coins-mintages"), + "/jargon": buildTemplate("jargon"), + "/language": buildTemplate("language"), } funcmap = map[string]any{ "denoms": denoms, diff --git a/src/templates/coins-designs-nl.html.tmpl b/src/templates/coins-designs-nl.html.tmpl new file mode 100644 index 0000000..2857c16 --- /dev/null +++ b/src/templates/coins-designs-nl.html.tmpl @@ -0,0 +1,56 @@ +{{ define "content" }} +<header> + {{ template "navbar" . }} + <h1>{{ .T "Dutch Euro Coin Designs" }}</h1> +</header> +<main> + <div class="design-container"> + <img + src="/designs/nl-050-beatrix.png" + alt="Netherlands Queen Beatrix €0.50 Coin" + /> + <img + src="/designs/nl-050-willem-alexander.png" + alt="Netherlands King Willem-Alexander €0.50 Coin" + /> + </div> + <div class="design-container"> + <img + src="/designs/nl-100-beatrix.png" + alt="Netherlands Queen Beatrix €1 Coin" + /> + <img + src="/designs/nl-100-willem-alexander.png" + alt="Netherlands King Willem-Alexander €1 Coin" + /> + </div> + <p> + {{ .T ` + From the years 1999–2013 all Dutch euro coins featured the portrait + of Queen Beatrix of the Netherlands. After her abdication from the + throne in 2013 the designs of all denominations were changed to + feature the portrait of the new King Willem-Alexander. After her + abdication the direction in which the monarchs portrait faced was + flipped; a tradition dating back to the earliest coins of the + Kingdom of the Netherlands. + ` }} + </p> + <p> + {{ .T ` + Coins featuring both monarchs contain text reading ‘BEATRIX + KONINGIN DER NEDERLANDEN’ (‘BEATRIX QUEEN OF THE NETHERLANDS’) and + ‘Willem-Alexander Koning der Nederlanden’ (‘Willem-Alexander King + of the Netherlands’) respectively. + ` }} + </p> + <p> + <!-- TODO: Link to the relief description in the Jargon page --> + {{ .T ` + The €1 and €2 coins featuring King Willem-Alexander were minted + with a much lower relief than most euro coins of the same + denomination. As a result it is not uncommon for these coins to + appear worn after little use in circulation. + ` }} + </p> +</main> +{{ end }} |