Skip to content

Instantly share code, notes, and snippets.

@mxlje
Last active December 16, 2015 18:20
Show Gist options
  • Save mxlje/5477057 to your computer and use it in GitHub Desktop.
Save mxlje/5477057 to your computer and use it in GitHub Desktop.
<url>
<loc>http://yourdomain.com{{post.url}}/</loc>
<changefreq>weekly</changefreq>
<priority>0.80</priority>
</url>
---
---
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
{% for post in site.posts %}
{% include sitemap-url.html %}
{% endfor %}
</urlset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment