summaryrefslogtreecommitdiffhomepage
path: root/src/templates
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-01-01 11:04:20 +0100
committerThomas Voss <mail@thomasvoss.com> 2025-01-01 11:04:20 +0100
commit7cfdfd8bdfe4f8d7bf74348817f2c046412bd124 (patch)
tree330ed30fde92f2124d27c3ffa676639d65e3c339 /src/templates
parent6723c30ec51b1e6bae44e41bd9dddb3ab423bd6c (diff)
Change the semantics of Printer.M()
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/coins-designs-ad.html.tmpl16
-rw-r--r--src/templates/coins-mintages.html.tmpl4
-rw-r--r--src/templates/collecting-vending.html.tmpl4
3 files changed, 12 insertions, 12 deletions
diff --git a/src/templates/coins-designs-ad.html.tmpl b/src/templates/coins-designs-ad.html.tmpl
index 1effaeb..c42930a 100644
--- a/src/templates/coins-designs-ad.html.tmpl
+++ b/src/templates/coins-designs-ad.html.tmpl
@@ -23,16 +23,16 @@
</p>
<dl>
<dt>{{ .T "%s, %s, and %s"
- (.Printer.M 0.01 false)
- (.Printer.M 0.02 false)
- (.Printer.M 0.05 false) }}</dt>
+ (.Printer.M 0.01)
+ (.Printer.M 0.02)
+ (.Printer.M 0.05) }}</dt>
<dd>{{ .T "Andorran landscapes, nature, fauna, and flora" }}</dd>
<dt>{{ .T "%s, %s, and %s"
- (.Printer.M 0.10 false)
- (.Printer.M 0.20 false)
- (.Printer.M 0.50 false) }}</dt>
+ (.Printer.M 0.10)
+ (.Printer.M 0.20)
+ (.Printer.M 0.50) }}</dt>
<dd>{{ .T "Andorra’s Romanesque art" }}</dd>
- <dt>{{ .Printer.M 1.00 false }}</dt>
+ <dt>{{ .Printer.M 1.00 }}</dt>
<dd>{{ .T "Casa de la Vall" }}</dd>
</dl>
<p>
@@ -88,4 +88,4 @@
` `<span lang="la">` `</span>` }}
</p>
</main>
-{{ end }}
+{{ end }} \ No newline at end of file
diff --git a/src/templates/coins-mintages.html.tmpl b/src/templates/coins-mintages.html.tmpl
index 4ac29e8..8c60248 100644
--- a/src/templates/coins-mintages.html.tmpl
+++ b/src/templates/coins-mintages.html.tmpl
@@ -73,7 +73,7 @@
<th>{{ .T "Year" }}</th>
{{ with $p := .Printer }}
{{ range denoms }}
- <th>{{ $p.M . false }}</th>
+ <th>{{ $p.M . }}</th>
{{ end }}
{{ end }}
</thead>
@@ -157,4 +157,4 @@
/>
{{ index . 2 }}
</label>
-{{ end }}
+{{ end }} \ No newline at end of file
diff --git a/src/templates/collecting-vending.html.tmpl b/src/templates/collecting-vending.html.tmpl
index 5fcfd0c..2bfea22 100644
--- a/src/templates/collecting-vending.html.tmpl
+++ b/src/templates/collecting-vending.html.tmpl
@@ -107,7 +107,7 @@
if you throw in five euros. You can try to go above the
limit if you throw in, say, %s and then another one- or
two euro coin; the machine will probably accept it.
- ` (.Printer.M 4.80 false) }}
+ ` (.Printer.M 4.80) }}
</dd>
<dt>{{ .T "Maximum Change Limit" }}</dt>
<dd>
@@ -150,7 +150,7 @@
something to purchase, throw in less money than the cost, and
then cancel the purchase. Note that most cigarette machines
in Austria have a %s max change limit.
- ` (.Printer.M 4.90 false) }}
+ ` (.Printer.M 4.90) }}
</p>
<p>
{{ .T `