clay / amphora-sitemaps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amphora Sitemaps

A Sitemaping module for Amphora that exposes endpoints to get the all the published pages in an XML response.

Installation & Usage

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

About

License:MIT License


Languages

Language:JavaScript 100.0%