Only show post excerpts in the feed

This commit is contained in:
Henne Vogelsang 2014-12-17 12:21:02 +01:00
parent 11dc3fd64a
commit 087803ed20
2 changed files with 3 additions and 2 deletions

View file

@ -18,8 +18,9 @@
<h2><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h2>
<p class="small">
{{ post.date | date: "%b %-d, %Y" }} by {{ post.author }}
</span></p>
</p>
{{ post.excerpt }}
<a href="{{ post.url | prepend: site.baseurl }}">Read on...</a>
</div>
</div>
</div>

View file

@ -14,7 +14,7 @@ layout: null
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description>
<description>{{ post.excerpt | xml_escape }}</description>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>