Jekyll-Garden / jekyll-garden.github.io

A Digital Garden Theme for Jekyll. Jekyll Garden lets you create a static HTML version of your markdown notes and publish via Github pages. Made for Obsidian users!
https://jekyll-garden.github.io
MIT License
355 stars 73 forks source link

Base URL not considered while building hyperlinks #20

Closed hfactor closed 2 years ago

hfactor commented 2 years ago

If you install this theme as a subpath (example.com/notes) and set baseurl in config.yml as /notes - the homepage works, and links are generated, but the paths will be broken as generated hyperlinks is wrong. (Reference to bug #11)

I think I need to replace all page.url with url + baseurl + page.url

hfactor commented 2 years ago

Sorted in the new version. Config at _config.yml.