diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/templates.go | 1 | ||||
-rw-r--r-- | src/templates/coins.html.tmpl | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/src/templates.go b/src/templates.go index 3e34f47..6649b28 100644 --- a/src/templates.go +++ b/src/templates.go @@ -23,6 +23,7 @@ var ( templates = map[string]*template.Template{ "/": buildTemplate("index"), "/about": buildTemplate("about"), + "/coins": buildTemplate("coins"), "/jargon": buildTemplate("jargon"), "/language": buildTemplate("language"), } 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 }} |