summaryrefslogtreecommitdiffhomepage
path: root/src/templates/coins-mintages.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/coins-mintages.html.tmpl')
-rw-r--r--src/templates/coins-mintages.html.tmpl7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/templates/coins-mintages.html.tmpl b/src/templates/coins-mintages.html.tmpl
index 8554c3f..772db33 100644
--- a/src/templates/coins-mintages.html.tmpl
+++ b/src/templates/coins-mintages.html.tmpl
@@ -66,7 +66,6 @@
</div>
<button type="submit">{{ .T "Filter" }}</button>
</form>
- {{ $data := (index .Mintages (strToCtype .Type)) }}
<figure>
<figcaption>{{ .T "Standard Issue Coins" }}</figcaption>
<table class="mintage-table" role="grid">
@@ -81,7 +80,7 @@
<tbody>
{{ $p := .Printer }}
{{ $type := .Type }}
- {{ range $data.Standard }}
+ {{ range .Mintages.Standard }}
<tr>
<th scope="col">
{{- .Year -}}
@@ -106,7 +105,7 @@
</tbody>
</table>
</figure>
- {{ if ne (len $data.Commemorative) 0 }}
+ {{ if ne (len .Mintages.Commemorative) 0 }}
<figure>
<figcaption>{{ .T "Commemorative Coins" }}</figcaption>
<table class="mintage-table-cc" role="grid">
@@ -118,7 +117,7 @@
<tbody>
{{ $p := .Printer }}
{{ $type := .Type }}
- {{ range $data.Commemorative }}
+ {{ range .Mintages.Commemorative }}
<tr>
<th scope="col">
{{- .Year -}}