1
0
spogulis no https://github.com/arsenetar/arsenetar.github.io.git synced 2026-03-30 22:31:37 +00:00

Fix Date format in sitemap

Fix filter name
Šī revīzija ir iekļauta:
2014-01-07 20:37:14 -05:00
vecāks fae3400342
revīzija 1919feb82e

Parādīt failu

@@ -10,14 +10,14 @@ layout: nil
{% for post in site.posts %}
<url>
<loc>{{ site.url }}{{ post.url }}</loc>
<lastmod>{% if post.modified %}{{ post.modified | to_xmlschema }}{% else %}{{ post.date | to_xmlschema }}{% endif %}</lastmod>
<lastmod>{% if post.modified %}{{ post.modified | date_to_xmlschema }}{% else %}{{ post.date | date_to_xmlschema }}{% endif %}</lastmod>
</url>
{% endfor %}
{% for page in site.pages %}
<url>
<loc>{{ site.url }}{{ page.url }}</loc>
<lastmod>{{ site.time | to_xmlschema }}</lastmod>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
</url>
{% endfor %}
</urlset>