Skip to content

Commit bbfbda7

Browse files
committed
Fix tag <updated> and <summary> of feed.xml
1 parent a33b2d7 commit bbfbda7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

feed.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ layout: compress
3030
<title>{{ post.title }}</title>
3131
<link href="{{ post_absolute_url }}" rel="alternate" type="text/html" title="{{ post.title }}" />
3232
<published>{{ post.date | date_to_xmlschema }}</published>
33-
{% if post.lastmod %}
34-
<updated>{{ post.lastmod | date_to_xmlschema }}</updated>
33+
{% if post.last_modified_at %}
34+
<updated>{{ post.last_modified_at | date_to_xmlschema }}</updated>
3535
{% else %}
3636
<updated>{{ post.date | date_to_xmlschema }}</updated>
3737
{% endif %}
@@ -51,9 +51,9 @@ layout: compress
5151
<summary>{{ post.summary | strip }}</summary>
5252
{% else %}
5353
<summary>
54-
{% assign content = post.content %}
55-
{% include no-linenos.html %}
56-
{{ content | strip_html | truncate: 200 }}</summary>
54+
{% include no-linenos.html content=post.content %}
55+
{{ content | strip_html | truncate: 400 }}
56+
</summary>
5757
{% endif %}
5858

5959
</entry>

0 commit comments

Comments
 (0)