Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
fixed format date on sitemap
Browse files Browse the repository at this point in the history
google webmasters erro:
"An invalid date was found. Please fix the date or formatting before resubmitting."
  • Loading branch information
Thiago Avelino committed Dec 17, 2015
1 parent 2c379bf commit bad1de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quokka/themes/pure/templates/sitemap.xml
@@ -1,7 +1,7 @@
{%- macro render_item(item) -%}
<url>
<loc>{{item.get_http_url()|safe}}</loc>
<lastmod>{{item.available_at.isoformat()}}</lastmod>
<lastmod>{{item.available_at.strftime('%Y-%m-%d')}}</lastmod>
<changefreq>daily</changefreq>
<priority>0.2</priority>
</url>
Expand Down

0 comments on commit bad1de3

Please sign in to comment.