grav-plugin-blackhole
grav-plugin-blackhole copied to clipboard
Navigation links not rewritten
Hello - I am super excited about this plugin. Thanks for making it!
I have it successfully running from the command line and generating all of the static files and folders, but it is not changing the links.
I'm running Grav in a sub-folder (e.g., sitename.com/gravcms) and using the command
php bin/plugin blackhole generate https://sitename.com/gravcms/ --output-url https://sitename.com/ --output-path ../ --assets --verbose-mode --force
But when I look at the HTML it saves, I still have things like this:
<a href="/gravcms/">Home</a>
<a href="/gravcms/page-two">Page Two</a>
Am I doing something wrong, or is there a bug? Thank you!
Quick follow-up - it appears the Blackhole plugin does not work properly when Grav in a sub-directory. To work around the issue, I am running it in a sub-domain and its working as expected now.
I guess this has turned into a feature request. :-)