Merge pull request #17 from MrSenko/show_full_article

New setting: SHOW_FULL_ARTICLE
This commit is contained in:
Gilson Filho
2016-01-21 14:43:49 -03:00
2 changed files with 8 additions and 1 deletions

View File

@ -32,7 +32,9 @@
{{ article.title }}
</h2>
</a>
{% if article.summary %}
{% if SHOW_FULL_ARTICLE %}
{{ article.content }}
{% elif article.summary %}
{{ article.summary|truncate(140) }}
{% endif %}
<p class="post-meta">Posted by