eleventy-base-blog
eleventy-base-blog copied to clipboard
<audio> source paths break, depending on whether URL ends in an /
These two links point to the same page:
- https://nekkowe.com/blog/posts/guilty-gear-strive-umineko-sound-mods/#1-umineko-clash-wall-break
- https://nekkowe.com/blog/posts/guilty-gear-strive-umineko-sound-mods#1-umineko-clash-wall-break
However, the audio players only work for the first one:
But not the second (note the 0:00 length):
It appears that with the first link, the
I'm not sure what's going on here. Ideally, the src URLs of <audio> tags etc. should probably become absolute URLs in the final HTML, as URLs for <img> tags already do.