parent
fae3400342
commit
1919feb82e
|
@ -10,14 +10,14 @@ layout: nil
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ site.url }}{{ post.url }}</loc>
|
<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>
|
</url>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% for page in site.pages %}
|
{% for page in site.pages %}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ site.url }}{{ page.url }}</loc>
|
<loc>{{ site.url }}{{ page.url }}</loc>
|
||||||
<lastmod>{{ site.time | to_xmlschema }}</lastmod>
|
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
|
||||||
</url>
|
</url>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</urlset>
|
</urlset>
|
Loading…
Reference in New Issue