lib/sitemap.xml in jekyll-sitemap-0.3.0 vs lib/sitemap.xml in jekyll-sitemap-0.4.0
- old
+ new
@@ -14,13 +14,13 @@
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>weekly</changefreq>
<priority>{% if post.url == "/" or post.url == "/index.html" %}1.0{% else %}0.7{% endif %}</priority>
</url>
{% endfor %}
- {% for file in site.static_files %}
+ {% for file in site.html_files %}
<url>
<loc>{{ site_url }}{{ file.path }}</loc>
- <lastmod>{{ file.modified_time | date_to_xmlschema }}</lastmod>
+ <lastmod>{{ file.modified_time | date:"%Y-%m-%dT%H:%M:%sZ" }}</lastmod>
<priority>0.6</priority>
</url>
{% endfor %}
</urlset>