Sunday, March 24, 2024

going mad with broken links on github pages

when working on my site locally in the config.toml I change baseURL to "/" but when i put it on github I sometimes forget what its supposed to be.

baseURL = 'https://bweew.github.io/site1/'
canonifyURLs = true
  • canonifyURLs fixes it if you have relative and absolute links in the mix but I also read it can make it worse if you dont have your baseurl set properly??

No comments:

Post a Comment