diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-08-01 20:50:11 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-08-01 20:50:11 +0200 |
commit | 64f2be013d569ac3e94c06476f78aa79522f9786 (patch) | |
tree | 120fae4c8eff7e655ae1ed7eb342b42290193256 /src | |
parent | 8dd60d2b4798c8d534c5d021f493588ab90dfd3e (diff) |
Remove useless instances of Get()
Diffstat (limited to 'src')
-rw-r--r-- | src/templates/coins-designs.html.tmpl | 3 | ||||
-rw-r--r-- | src/templates/collecting-crh.html.tmpl | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/templates/coins-designs.html.tmpl b/src/templates/coins-designs.html.tmpl index 87cf1f1..def1e98 100644 --- a/src/templates/coins-designs.html.tmpl +++ b/src/templates/coins-designs.html.tmpl @@ -10,7 +10,6 @@ </p> <hr /> <div class="button-grid country-grid"> - {{ $p := .Printer }} {{ range .Countries }} <a class="outline" @@ -18,7 +17,7 @@ role="button" href="/coins/designs/{{ .Code }}" > - {{ $p.Get .Name }} + {{ .Name }} </a> {{ end }} </div> diff --git a/src/templates/collecting-crh.html.tmpl b/src/templates/collecting-crh.html.tmpl index a44d08a..d3f7197 100644 --- a/src/templates/collecting-crh.html.tmpl +++ b/src/templates/collecting-crh.html.tmpl @@ -42,7 +42,7 @@ {{ $p := .Printer }} {{ range .Countries }} <details id="{{ .Code }}"> - <summary>{{ $p.Get .Name }}</summary> + <summary>{{ .Name }}</summary> {{ if eq .Code "ad" }} <p> {{ $p.Get "Coin rolls can be obtained from Andbank, Creand and MoraBanc. All three of these banks require that you are a customer to get rolls, however there have been reports of individuals managing to get rolls without any fees and without being a customer by simply asking kindly at the bank." }} @@ -530,7 +530,7 @@ <p> {{ $p.Get "We currently have no information regarding coin roll hunting in {Country}." - (map "Country" ($p.Get .Name)) }} + (map "Country" .Name) }} </p> {{ end }} </details> |