Sitemap middleware for Kerouac.
JavaScript Makefile
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.jshintrc
.npmignore
.travis.yml
CONTRIBUTING.md
LICENSE
Makefile
README.md
package.json

README.md

kerouac-sitemap

Version Build Quality Coverage Dependencies

Kerouac middleware that generates generates sitemaps, informing search engines about pages that are available for crawling

Install

$ npm install kerouac-sitemap

Usage

Simply declare a sitemap.xml page, using this middleware.

site.page('/sitemap.xml', require('kerouac-sitemap')());

If your site consists of multiple sections, each of which has a separate sitemap, a sitemap index can be generated.

site.page('/sitemap_index.xml', require('kerouac-sitemap').index());

License

The MIT License

Copyright (c) 2012-2017 Jared Hanson <http://jaredhanson.net/>

Sponsor