laatste structuur element

This commit is contained in:
mb@mb 2018-05-04 15:45:25 +02:00
parent d5a7e8a8e9
commit 8efd54af28
3 changed files with 6 additions and 4 deletions

View File

@ -29,4 +29,5 @@
</div>
<div class="entry-content e-content">{{ article.content }}</div>
</section>
{% endblock %}

View File

@ -3,7 +3,6 @@
{% if articles %}
<section id="content">
{% for article in articles_page.object_list %}
{# First item #}
{% if loop.index <= 3 %}
<div class="featured">
<article>
@ -29,6 +28,11 @@
<div class="entry-content e-content">{{ article.content }}</div>
</article>
</div>
{% if loop.index < 3 %}
{% if loop.last %}
</section>
{% endif %}
{% endif %}
{% if loop.index == 3 %}
</section>
<section id="list">

View File

@ -1,5 +1,2 @@
{% extends "index.html" %}
{% block content_title %}
<h2>Articles in the {{ tag }} tag</h2>
{% endblock %}