2017-07-06 14:28:42 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
2017-10-20 15:59:16 +02:00
|
|
|
<section id="content" class="index">
|
2017-07-06 14:28:42 +02:00
|
|
|
{% block content_title %}
|
|
|
|
{% endblock %}
|
|
|
|
{% if articles_page.has_other_pages() %}
|
2017-09-14 20:37:51 +02:00
|
|
|
{% include 'pagination.html' %}
|
2017-07-06 14:28:42 +02:00
|
|
|
{% endif %}
|
|
|
|
<div id="post-list">
|
|
|
|
{% for article in articles_page.object_list %}
|
2018-02-01 15:16:37 +01:00
|
|
|
{% if article.category %}
|
|
|
|
<article class="hentry {{article.category}}">
|
|
|
|
{% endif %}
|
2017-09-14 20:37:51 +02:00
|
|
|
<div class="article-info">
|
2017-11-28 19:37:21 +01:00
|
|
|
<span class="entry-title"><a href="{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></span>
|
2017-11-03 13:49:21 +01:00
|
|
|
<div class="event-details">
|
2017-11-28 19:37:21 +01:00
|
|
|
{% if article.event_start %}
|
|
|
|
{{ article.event_start }}
|
2018-02-01 15:16:37 +01:00
|
|
|
{% set past = '' %}
|
|
|
|
{% if article.event_start < article.date.now() %}
|
|
|
|
{% set past = ' past-event' %}
|
|
|
|
{% endif %}
|
|
|
|
|
2017-11-03 13:49:21 +01:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2017-09-14 20:37:51 +02:00
|
|
|
</div>
|
2018-02-01 15:16:37 +01:00
|
|
|
<div class="summary {{past}}">{{ article.summary }}
|
2017-11-02 23:34:18 +01:00
|
|
|
<span>
|
2017-12-15 16:29:11 +01:00
|
|
|
<a href="{{ article.url }}">
|
2017-11-02 23:34:18 +01:00
|
|
|
{% if DEFAULT_LANG == 'en' %}
|
|
|
|
read more
|
|
|
|
{% elif DEFAULT_LANG == 'nl' %}
|
|
|
|
lees meer
|
|
|
|
{% endif %}
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
2017-07-06 14:28:42 +02:00
|
|
|
<div class="separator"><hr></div>
|
2017-09-14 20:37:51 +02:00
|
|
|
<div class="post-info">
|
|
|
|
{% if article.category %}
|
|
|
|
<div class="categories">
|
|
|
|
<span itemprop="articleSection">
|
2017-09-14 23:40:20 +02:00
|
|
|
→ <a href="{{ SITEURL }}/{{ article.category.url }}" rel="category">{{ article.category }}</a>
|
2017-09-14 20:37:51 +02:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
{% endif %} {% if article.tags %}
|
|
|
|
<div class="tags">
|
|
|
|
Tags: {% for tag in article.tags %}
|
|
|
|
<span itemprop="keywords">
|
|
|
|
<a href="{{ SITEURL }}/{{ tag.url }}" rel="tag">{{ tag }}</a>
|
|
|
|
</span> {% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2017-07-06 14:28:42 +02:00
|
|
|
</article>
|
|
|
|
{% endfor %}
|
|
|
|
</div><!-- /#posts-list -->
|
|
|
|
|
|
|
|
</section><!-- /#content -->
|
|
|
|
{% endblock content %}
|