Closed avados closed 1 year ago
So, issue can be closed, my issue was in the snippet :
<li><a href="/{{ backlink.url }}">{{ backlink.title }}</a></li>
i modified it to use:
<li><a href="../{{ backlink.url }}">{{ backlink.title }}</a></li>
and it is now working :)
Hello,
i am publishing a site in github pages, so the url will be something like : https://avados.github.io/MY_REPO so, in my mkdocs.yml file i have : site_url: https://avados.github.io/MY_REPO
but the generated backlinks do not use site_url, so the generated links are : https://avados.github.io/ for example, instead of having a backlink : https://avados.github.io/MY_REPO/tests it will create a backlink https://avados.github.io/tests leading to a 404.
Am i doing something wrong? i am using the snippet you are providing as exemple.
It is quite easy to reproduce locally, just add a site_url as stated above.
Thanks.