varia.website/theme/wisselwerking/templates/index.html

30 lines
1.1 KiB
HTML
Raw Normal View History

2017-07-06 14:28:42 +02:00
{% extends "base.html" %}
{% block content %}
<section id="content">
{% block content_title %}
{% endblock %}
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
{% 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 class="post-info">
<time class="published" datetime="{{ article.date.isoformat() }}"> <sup>{{ article.locale_date }}</sup> </time>
<div class ='article_tags'>
{%- for tag in article.tags %}
{{ tag }}
{% endfor %}
</div>
</div></div><!-- /.post-info -->
<div class="entry-content"> {{ article.content }}
<div class="separator"><hr></div>
</div><!-- /.entry-content -->
</article>
{% endfor %}
</div><!-- /#posts-list -->
</section><!-- /#content -->
{% endblock content %}