Skip to content

Instantly share code, notes, and snippets.

@silentrob
Created October 24, 2013 23:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silentrob/7146950 to your computer and use it in GitHub Desktop.
Save silentrob/7146950 to your computer and use it in GitHub Desktop.
Super simple sitemap
{
"rss": {
"layout":false
},
"sitemap": {
"site_url": "http://example.com",
"layout":false
}
}
!!!xml
urlset(xmlns="http://www.sitemaps.org/schemas/sitemap/0.9")
each page in public.contents
if page.indexOf(".html") !== -1
url
loc #{site_url}/#{page}
changefreq monthly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment