Fix sitemap.
This commit is contained in:
parent
ec15ec4d8b
commit
d1371fbb98
1 changed files with 4 additions and 2 deletions
|
@ -14,8 +14,8 @@ layout: compress
|
||||||
{% unless post.published == false %}
|
{% unless post.published == false %}
|
||||||
|
|
||||||
{% capture lastmod %}
|
{% capture lastmod %}
|
||||||
{% if post.lastmod %}
|
{% if post.seo.date_modified %}
|
||||||
{{ post.lastmod }}
|
{{ post.seo.date_modified }}
|
||||||
{% elsif post.date %}
|
{% elsif post.date %}
|
||||||
{{ post.date }}
|
{{ post.date }}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -39,7 +39,9 @@ layout: compress
|
||||||
<priority>0.5</priority>
|
<priority>0.5</priority>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% for page in site.pages %}
|
{% for page in site.pages %}
|
||||||
|
|
Loading…
Reference in a new issue