# HG changeset patch # User Goffi # Date 1516525745 -3600 # Node ID 2dd56fd2e9c9f9c8a0a9261d464ea56c5cd99262 # Parent e8955d01ad0c59b97dc611de64f26d2afc532d23 blog/atom.xml: truncate title at 80 characters instead of 40 diff -r e8955d01ad0c -r 2dd56fd2e9c9 default/blog/atom.xml --- a/default/blog/atom.xml Fri Jan 19 18:20:48 2018 +0100 +++ b/default/blog/atom.xml Sun Jan 21 10:09:05 2018 +0100 @@ -17,7 +17,7 @@ {% if item.title_xhtml %} {{item.title_xhtml}} {% else %} - {{item.title|default(item.content|truncate(40, True, '…'))}} + {{item.title|default(item.content|truncate(80, True, '…'), True)}} {% endif %}