only put the excerpt on the RSS, and add a link to the rest of the post
authorRalf Jung <post@ralfj.de>
Sat, 2 Jan 2016 14:15:17 +0000 (15:15 +0100)
committerRalf Jung <post@ralfj.de>
Sat, 2 Jan 2016 14:15:17 +0000 (15:15 +0100)
personal/_includes/post-feed.html

index 18959edc70b44510096d4468e123b45e93500db7..c9b7c84db70deb8788ea5325c28ebe59b69a748b 100644 (file)
@@ -7,6 +7,12 @@
     {% for cat in post.categories %}
         <category term="{{ cat }}" label="{{ cat | capitalize }}"/>
     {% endfor %}
     {% for cat in post.categories %}
         <category term="{{ cat }}" label="{{ cat | capitalize }}"/>
     {% endfor %}
-    <content type="html">{{ post.content | xml_escape }}</content>
+    <content type="html">
+        {% capture content %}
+            {{ post.excerpt }}
+            <p><a href="{{ post.url }}">Read more...</a></p>
+        {% endcapture %}
+        {{ content | xml_escape }}
+    </content>
   </entry>
 {% endfor %}
   </entry>
 {% endfor %}