forked from wallabag/wallabag
Add tests
and fix few mistakes
This commit is contained in:
@ -17,11 +17,11 @@
|
||||
<pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate>
|
||||
<description>
|
||||
<![CDATA[
|
||||
{%- if entry.content| readingTime > 0 %}
|
||||
{%- if entry.content| readingTime > 0 -%}
|
||||
{% trans %}estimated reading time :{% endtrans %} {{ entry.content| readingTime }} min
|
||||
{% else -%}
|
||||
{%- else -%}
|
||||
{% trans %}estimated reading time :{% endtrans %} < 1 min
|
||||
{% endif -%}
|
||||
{%- endif %}
|
||||
|
||||
{{ entry.content -}}
|
||||
]]>
|
||||
|
||||
Reference in New Issue
Block a user