I almost have the same issue with this question: https://github.community/t5/GitHub-Pages/Image-Path-when-the-file-isn-t-in-the-root/m-p/14340
adding “…” before the path for images seem to work, but since I’m using the function of Collections in my github pages, I use a permalink in my config.yml file:
So what happens is that, when the .md file loads in the site coming from my servicenow collection, it appends the website url and breaks the link. It will be something like this:
(this will show a page 404)
Whereas the correct path to the image is like this:
(notice that it is in the hcl-support/docs/assets/ folder)
the added servicenow from the permalink breaks the URL. do you have other best practice to reference an image path? I’m concerned that if I fork this to another github profile (not maurice-nipal) all the links will be broken because it is explicitly found in the URL.
Appreciate any help!