New setting: SHOW_FULL_ARTICLE
when set to True will show the full article content on index.html instead of truncated summary.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user