mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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>
|
||||
<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>
|
||||
|
|
|
|||
2
feed.xml
2
feed.xml
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue