We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12e1f3c commit 811bd29Copy full SHA for 811bd29
1 file changed
sitemap.xml
@@ -14,8 +14,8 @@ layout: compress
14
{% unless post.published == false %}
15
16
{% capture lastmod %}
17
- {% if post.lastmod %}
18
- {{ post.lastmod }}
+ {% if post.seo.date_modified %}
+ {{ post.seo.date_modified }}
19
{% elsif post.date %}
20
{{ post.date }}
21
{% else %}
@@ -39,7 +39,9 @@ layout: compress
39
<priority>0.5</priority>
40
{% endif %}
41
</url>
42
+
43
{% endunless %}
44
45
{% endfor %}
46
47
{% for page in site.pages %}
0 commit comments