show summary for articles in index.html
This commit is contained in:
parent
0534a43694
commit
59bbce80a9
1 changed files with 0 additions and 4 deletions
|
@ -18,12 +18,8 @@
|
|||
</p>
|
||||
</header>
|
||||
<div>
|
||||
{% if summarise or article.metadata['summary'] or article.metadata['summarize'] %}
|
||||
{{ article.summary }}
|
||||
<a class="btn" href="{{ SITEURL }}/{{ article.url }}#{{ article.slug }}">Continue reading</a>
|
||||
{% else %}
|
||||
{{ article.content }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if not loop.last %}
|
||||
<hr />
|
||||
|
|
Loading…
Reference in a new issue