I have a site located on
https://username.github.io/siteRepo/. To link to any page of the site, I just do this:
Go to <a href='page2'>page2</a>. When I try to click this link I’m getting 404. After analyzing, I discovered that the linking system does not work properly. It creates the link like this
https://username.github.io/page2/ instead of
https://username.github.io/siteRepo/page2. I tried to change the link as
<a href='/page2'> or
<a href='./page2'> still nothing.
Do you have any idea? or a suggestion?