a plugin for Abell that builds sitemap
npm install --save-dev abell-sitemap-plugin
In your abell.config.js
file, add following values,
module.exports = {
globalMeta: {
domain: 'https://example.com'
},
plugins: ['abell-sitemap-plugin']
}
replace domain
with your website's domain that you want search engines to see. Add abell-sitemap-plugin
to plugins array.
First, fork this repository
git clone https://github.com/:your-github-username/abell-sitemap-plugin
cd abell-sitemap-plugin
npx abell build
This will build files into dist
folder. If it runs without failure, you will be able to see sitemap.xml
file in dist
.
Thanks!