diff --git a/feed.xml b/feed.xml index 0d88b56..c329f8a 100644 --- a/feed.xml +++ b/feed.xml @@ -30,8 +30,8 @@ layout: compress {{ post.title }} {{ post.date | date_to_xmlschema }} - {% if post.lastmod %} - {{ post.lastmod | date_to_xmlschema }} + {% if post.last_modified_at %} + {{ post.last_modified_at | date_to_xmlschema }} {% else %} {{ post.date | date_to_xmlschema }} {% endif %} @@ -51,9 +51,9 @@ layout: compress {{ post.summary | strip }} {% else %} - {% assign content = post.content %} - {% include no-linenos.html %} - {{ content | strip_html | truncate: 200 }} + {% include no-linenos.html content=post.content %} + {{ content | strip_html | truncate: 400 }} + {% endif %}