Created
January 16, 2015 17:30
-
-
Save AndrewKvalheim/d6458b6979ee62f50395 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ Documentation: http://www.sitemaps.org/protocol.html | |
doctype xml | |
urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9' | |
- pages.each do |page| | |
url | |
loc = page.absolute_url | |
lastmod = page.mtime.iso8601 | |
changefreq = page.data.changefreq || 'weekly' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment