1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-20 14:42:46 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Cotes Chung
0250a9c9f4 Bump version to 2.6.1 2020-11-27 22:38:55 +08:00
Cotes Chung
bbfbda7562 Fix tag <updated> and <summary> of feed.xml 2020-11-27 22:27:29 +08:00
2 changed files with 6 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
name: Chirpy
version: 2.6.0
version: 2.6.1
homepage: https://github.com/cotes2020/jekyll-theme-chirpy/

View File

@@ -30,8 +30,8 @@ layout: compress
<title>{{ post.title }}</title>
<link href="{{ post_absolute_url }}" rel="alternate" type="text/html" title="{{ post.title }}" />
<published>{{ post.date | date_to_xmlschema }}</published>
{% if post.lastmod %}
<updated>{{ post.lastmod | date_to_xmlschema }}</updated>
{% if post.last_modified_at %}
<updated>{{ post.last_modified_at | date_to_xmlschema }}</updated>
{% else %}
<updated>{{ post.date | date_to_xmlschema }}</updated>
{% endif %}
@@ -51,9 +51,9 @@ layout: compress
<summary>{{ post.summary | strip }}</summary>
{% else %}
<summary>
{% assign content = post.content %}
{% include no-linenos.html %}
{{ content | strip_html | truncate: 200 }}</summary>
{% include no-linenos.html content=post.content %}
{{ content | strip_html | truncate: 400 }}
</summary>
{% endif %}
</entry>