I have been using zola and for th most part it works fine, but while linking to different pages it breaks.
I have set the base url as:
# The URL the site will be built for base_url = "https://www.xypnox.com/blag"
And it gets deployed to githhub pages.
The problem arises when I link from a post say at
/about/ page. When I use
[About](/about) this works fine in local server but breaks on deployment and if I use
[About](/blag/about) this breaks in local server but works fine when deployed.
Is there a way to link these properly that the links work in both local server and when deployed?
I have tried
[About](../../about) but it looks ugly and isn’t as clear, it requires knowing the current path and can’t be reused in different level directories.
The line with the concerning code is at migrating-to-zola/index.md#L201