- Clone:
git clone https://github.com/InPoint-Automation/SitemapFix.git - Install the plugin via Publii: Tools -> Plugins -> Install plugin, and select the packaged ZIP (see the Package section below).
- Enable in Publii, render the site, inspect the generated
output/sitemap.xml.
Publii requires the files inside an SitemapFix/ subfolder within the ZIP.
On Linux you can run a single command to make a clean .zip
ln -s . SitemapFix && zip SitemapFix.zip SitemapFix/plugin.json SitemapFix/main.js SitemapFix/thumbnail.svg SitemapFix/README.md SitemapFix/LICENSE; rm SitemapFix
Otherwise, you can just directly zip up the whole SitemapFix directory. You may consider to remove the screenshot, etc first.