Only show post excerpts in the feed
This commit is contained in:
parent
11dc3fd64a
commit
087803ed20
2 changed files with 3 additions and 2 deletions
|
|
@ -18,8 +18,9 @@
|
||||||
<h2><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h2>
|
<h2><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h2>
|
||||||
<p class="small">
|
<p class="small">
|
||||||
{{ post.date | date: "%b %-d, %Y" }} by {{ post.author }}
|
{{ post.date | date: "%b %-d, %Y" }} by {{ post.author }}
|
||||||
</span></p>
|
</p>
|
||||||
{{ post.excerpt }}
|
{{ post.excerpt }}
|
||||||
|
<a href="{{ post.url | prepend: site.baseurl }}">Read on...</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
2
feed.xml
2
feed.xml
|
|
@ -14,7 +14,7 @@ layout: null
|
||||||
{% for post in site.posts limit:10 %}
|
{% for post in site.posts limit:10 %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ post.title | xml_escape }}</title>
|
<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>
|
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
|
||||||
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
|
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
|
||||||
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
|
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue