Astro's link field in the sidebar automatically adds .html if build.format is "file",
that should be okay, but it means any link to a header folder/page#header becomes folder/page#header.html.
You can't change that in astro's config, so this pull request sets build.format back to "directory", and changes relative links to work with that.
This also closes #6
Adding an extra ../ is annoying, and #5 would have fixed that, but because of how astro works, this is the only way to make everything work properly.
Astro's
link
field in the sidebar automatically adds.html
ifbuild.format
is"file"
, that should be okay, but it means any link to a headerfolder/page#header
becomesfolder/page#header.html
.You can't change that in astro's config, so this pull request sets
build.format
back to"directory"
, and changes relative links to work with that.This also closes #6
Adding an extra
../
is annoying, and #5 would have fixed that, but because of how astro works, this is the only way to make everything work properly.