laatste structuur element
This commit is contained in:
parent
d5a7e8a8e9
commit
8efd54af28
@ -29,4 +29,5 @@
|
||||
</div>
|
||||
<div class="entry-content e-content">{{ article.content }}</div>
|
||||
</section>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -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">
|
||||
|
@ -1,5 +1,2 @@
|
||||
{% extends "index.html" %}
|
||||
{% block content_title %}
|
||||
<h2>Articles in the {{ tag }} tag</h2>
|
||||
{% endblock %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user