Sitemaps

Sitemaps are files that are used by search engines to quickly and efficiently determine what documents they should index on a web site. Expansive can generate sitemaps for you each time you render the site.

Creating a Sitemap

Sitemap generation is enabled by adding a sitemap property to your expansive.json meta properties. The sitemap property should contain a files property that lists the files to add to the sitemap. For example:

{ meta: { sitemap: { files: [ '**.html', '!unsupported.html', '!lib/**', ] } } }

The files list may contain wild-cards including ** which matches files in any subdirectory. You can specify negated patterns using a ! prefix. These remove files from the list.

© Embedthis Software, 2003-2015. All rights reserved.