A Sitemaping module for Amphora that exposes endpoints to get the all the published pages in an XML response.
First install the module:
$ npm install -s amphora-sitemaps
Then pass the module into Amphora as an item for the plugins
array property.
amphora({
...
plugins: [
...
require('amphora-sitemaps'),
...
],
...
})
At startup time the module will create and expose endpoints that you can hit in your browser to get the all the published pages in an XML response for that site. eg. yoursite.com/_sitemap