Truncate summary and define headline in articles

This commit is contained in:
gilsondev
2014-12-10 16:00:35 -02:00
parent 29438efec0
commit 7f50fccad1
2 changed files with 6 additions and 2 deletions

View File

@ -31,7 +31,7 @@
</h2>
</a>
{% if article.summary %}
{{ article.summary|truncate(25) }}
{{ article.summary|truncate(140) }}
{% endif %}
<p class="post-meta">Posted by
{% for author in article.authors %}