Open peterkaminski opened 1 year ago
Probably a decent fix:
mwb.yaml
_header.html
and wherever else it's needed, that's prepended to mwb-static
Changes needed in both MWB and in Massive Wiki Themes.
Maybe that variable can configure the mwb-static
name itself, as well?
Regular Massive Wiki Starter themes expect the site to be deployed to the root of the site, and so CSS links are like this:
GitHub Pages sites on
github.io
are deployed one directory level down, where the directory name at the root is the repo name:A simple fix is to hard-code the repo/directory name:
But that's an ugly per-wiki customization.
Let's try to find some better solution.
Note that a simple relative link won't work, because different pages can be at different directory levels.