diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/news/index.html.j2 | 4 | ||||
-rw-r--r-- | template/rss.xml.j2 | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/template/news/index.html.j2 b/template/news/index.html.j2 index 207fa80..65b44ad 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 872e551..9b58fb7 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> |