mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-08 23:40:40 +02:00
tpl/images: Format the QR hashes as hex
Slightly shorter, and it looks more like a ... hash.
This commit is contained in:
@@ -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">`,
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user