2015-07-19 02:04:01 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% for article in articles_page.object_list %}
|
|
|
|
<article>
|
|
|
|
<header>
|
|
|
|
<h2><a href="{{ SITEURL }}/{{ article.url }}#{{ article.slug }}">{{ article.title }}</a></h2>
|
|
|
|
<p>
|
2015-08-27 21:52:17 +02:00
|
|
|
Posted on {{ article.locale_date }} in <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
|
|
|
|
{% if article.tags %}
|
|
|
|
• Tagged with
|
2015-07-19 02:04:01 +02:00
|
|
|
{% for tag in article.tags %}
|
|
|
|
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% if DISQUS_SITENAME %}
|
|
|
|
• <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">Leave a comment</a>
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
</header>
|
|
|
|
<div>
|
2016-02-16 01:45:54 +01:00
|
|
|
{% if summarise or article.metadata['summary'] or SUMMARY_MAX_LENGTH %}
|
2015-07-19 02:04:01 +02:00
|
|
|
{{ article.summary }}
|
|
|
|
<a class="btn" href="{{ SITEURL }}/{{ article.url }}#{{ article.slug }}">Continue reading</a>
|
|
|
|
{% else %}
|
|
|
|
{{ article.content }}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% if not loop.last %}
|
|
|
|
<hr />
|
|
|
|
{% endif %}
|
|
|
|
</article>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% include "partial/pagination.html" %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block additional_js %}
|
2015-07-20 04:34:54 +02:00
|
|
|
{% include "partial/jsonld.html" %}
|
2015-07-19 02:04:01 +02:00
|
|
|
{% include "partial/disqus_count.html" %}
|
|
|
|
{% endblock %}
|