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>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
<div>
|
<div>
|
||||||
{% if summarise or article.metadata['summary'] or article.metadata['summarize'] %}
|
|
||||||
{{ article.summary }}
|
{{ article.summary }}
|
||||||
<a class="btn" href="{{ SITEURL }}/{{ article.url }}#{{ article.slug }}">Continue reading</a>
|
<a class="btn" href="{{ SITEURL }}/{{ article.url }}#{{ article.slug }}">Continue reading</a>
|
||||||
{% else %}
|
|
||||||
{{ article.content }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
{% if not loop.last %}
|
{% if not loop.last %}
|
||||||
<hr />
|
<hr />
|
||||||
|
|
Loading…
Reference in a new issue