mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-21 11:10:53 +00:00
Fix sitemap.
This commit is contained in:
parent
ec15ec4d8b
commit
d1371fbb98
@ -14,8 +14,8 @@ layout: compress
|
||||
{% unless post.published == false %}
|
||||
|
||||
{% capture lastmod %}
|
||||
{% if post.lastmod %}
|
||||
{{ post.lastmod }}
|
||||
{% if post.seo.date_modified %}
|
||||
{{ post.seo.date_modified }}
|
||||
{% elsif post.date %}
|
||||
{{ post.date }}
|
||||
{% else %}
|
||||
@ -39,7 +39,9 @@ layout: compress
|
||||
<priority>0.5</priority>
|
||||
{% endif %}
|
||||
</url>
|
||||
|
||||
{% endunless %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
{% for page in site.pages %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user