diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-07-29 21:05:15 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-07-29 21:05:15 +0200 |
commit | 9956f3071549569f4f972331ab0756c4c88ab713 (patch) | |
tree | a6ec433cd24195feda6b397730ba64c113c9fde3 /src/templates | |
parent | 6ae9d2efbe21867d7445663884b8d7c4c67b8b6f (diff) |
Use builtin printf
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/banknotes-codes.html.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates/banknotes-codes.html.tmpl b/src/templates/banknotes-codes.html.tmpl index 9136c32..ea17307 100644 --- a/src/templates/banknotes-codes.html.tmpl +++ b/src/templates/banknotes-codes.html.tmpl @@ -312,7 +312,7 @@ <summary>{{ $p.GetN "{N} Euro" "{N} Euro" $d $args }}</summary> <img class="big" - src={{ sprintf "/codes/%s-%03d.jpg" (index . 2) $d }} + src={{ printf "/codes/%s-%03d.jpg" (index . 2) $d }} alt={{ $p.GetN "Printer code on a {N} euro bill" "Printer code on a {N} euro bill" $d $args }} > </details> |