Fix sitemap lastmod date format for Google
This commit is contained in:
parent
a6c04d565a
commit
06ba106795
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
<loc>{{ request.host_url }}{{ node.path }}</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.8</priority>
|
||||
<lastmod>{{ node.changed_datetime.isoformat() }}</lastmod>
|
||||
<lastmod>{{ node.changed_datetime.strftime('%Y-%m-%d') }}</lastmod>
|
||||
</url>
|
||||
{% endfor %}
|
||||
</urlset>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue