summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/news/index.html.j24
-rw-r--r--template/rss.xml.j22
2 files changed, 3 insertions, 3 deletions
diff --git a/template/news/index.html.j2 b/template/news/index.html.j2
index 207fa801..65b44add 100644
--- a/template/news/index.html.j2
+++ b/template/news/index.html.j2
@@ -29,8 +29,8 @@
</p>
</header>
<p class="item-abstract">
- {{ item['abstract'] }} <br/>
- [<a href="{{ item['page'] }}" title="{{ item['date']}}">{{ _("read more") }}</a>]
+ {{ get_abstract(item['page'], 1000) }} <br/>
+ [<a href="{{ url(item['page']) }}" title="{{ item['date']}}">{{ _("read more") }}</a>]
</p>
</section>
</div>
diff --git a/template/rss.xml.j2 b/template/rss.xml.j2
index 872e5513..9b58fb7a 100644
--- a/template/rss.xml.j2
+++ b/template/rss.xml.j2
@@ -36,7 +36,7 @@
<description>
<![CDATA[
<article>
- {{ newspostitem['content'] }}
+ {{ get_abstract(newspostitem['page'], 1000) }}
</article>
]]>
</description>