Truncate summary and define headline in articles

This commit is contained in:
gilsondev 2014-12-10 16:01:30 -02:00
parent 7f50fccad1
commit 439106d345
1 changed files with 0 additions and 2 deletions

View File

@ -31,8 +31,6 @@
<h1>{{ article.title }}</h1>
{% if article.headline %}
<h3 class="subheading">{{ article.headline }}</h3>
{% else %}
<h3 class="subheading">{{ article.summary|truncate(140) }}</h3>
{% endif %}
<span class="meta">Posted by
{% for author in article.authors %}