Add tests

and fix few mistakes
This commit is contained in:
Jeremy
2015-03-28 21:43:49 +01:00
parent 2385f891e5
commit 371ac69a6b
13 changed files with 533 additions and 26 deletions

View File

@ -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 %} &lt; 1 min
{% endif -%}
{%- endif %}
{{ entry.content -}}
]]>