You've already forked pages
forked from didirus/AstralRinth
These changes add a layered hook to the `markdown-it` renderer rules to resolve `<img>` element `src` attributes and `<a>` element `href` attributes to a path-absolute relative URL, to ensure that such URLs always point to the same resource URL even when the URL the current resource is being viewed from changes. This fixes an issue with relative links and image source URLs being broken when a blog post was watched from a URL that lacked a trailing slash, as web browsers adjust the path relative URLs are resolved from depending on whether such character is present, and we didn't account for that. While at it, I've rebuilt all the blog posts and their associated RSS feed.
5.3 KiB
5.3 KiB