many many many Varia's websites, work in progress: https://many.vvvvvvaria.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.6 KiB

7 years ago
{% extends "base.html" %}
{% block content %}
<section id="content" class="index">
7 years ago
{% block content_title %}
{% endblock %}
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
7 years ago
{% endif %}
<div id="post-list">
{% for article in articles_page.object_list %}
<article class="hentry">
<div class="article-info">
<span class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></span>
</div>
<div class="summary">{{ article.summary }}
<span>
<a href="{{ SITEURL }}/{{ article.url }}">
{% if DEFAULT_LANG == 'en' %}
read more
{% elif DEFAULT_LANG == 'nl' %}
lees meer
{% endif %}
</a>
</span>
</div>
7 years ago
<div class="separator"><hr></div>
<div class="post-info">
<div class="event-details">
<sup>
{% if article.start %}
{% if DEFAULT_LANG == 'en'%}
When? {{ article.start }}
{% elif DEFAULT_LANG == 'nl' %}
Wanneer? {{ article.start }}
{% endif %}
{% endif %}
</sup>
</div>
{% if article.category %}
<div class="categories">
<span itemprop="articleSection">
<a href="{{ SITEURL }}/{{ article.category.url }}" rel="category">{{ article.category }}</a>
</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>
7 years ago
</article>
{% endfor %}
</div><!-- /#posts-list -->
</section><!-- /#content -->
{% endblock content %}