CleanBlog
CleanBlog copied to clipboard
background-image quote encoding
Seeing this invalid URL being logged in browser console for a post with image: front matter
GET
http://localhost:5080/2023/12/"/assets/2023/01/terraform-logo.png"
Looks like the double quotes in https://github.com/statiqdev/CleanBlog/blob/ad639891c4469a2c9fc1d16b0ef8f99e975e82d8/input/_header.cshtml#L12 are being HTML encoded
Switching line 12 to use single quotes inside the url() seems to fix this
Is the metadata for the post
Image: "/assets/2023/01/terraform-logo.png"
instead of
Image: /assets/2023/01/terraform-logo.png
No, it wasn't quoted in the .md file