tpl/images: Format the QR hashes as hex

Slightly shorter, and it looks more like a ... hash.
This commit is contained in:
Bjørn Erik Pedersen
2025-01-06 12:15:52 +01:00
parent a837976731
commit 5f2adad2c7
4 changed files with 18 additions and 11 deletions

View File

@@ -730,7 +730,7 @@ https://gohugo.io"
b := hugolib.Test(t, files)
b.AssertFileContent("public/index.html",
`<img src="/codes/qr_1933601158373371382.png" width="148" height="148" alt="QR code linking to https://gohugo.io" class="my-class" id="my-id" title="My Title">`,
`<img src="/qr_8288684942309665993.png" width="132" height="132">`,
`<img src="/codes/qr_1ad588024620edf6.png" width="148" height="148" alt="QR code linking to https://gohugo.io" class="my-class" id="my-id" title="My Title">`,
`<img src="/qr_7307530a297f2cc9.png" width="132" height="132">`,
)
}