Merge branch 'master' of https://git.vvvvvvaria.org/rra/wttf
This commit is contained in:
commit
0139e8663e
@ -29,4 +29,5 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="entry-content e-content">{{ article.content }}</div>
|
<div class="entry-content e-content">{{ article.content }}</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
{% if articles %}
|
{% if articles %}
|
||||||
<section id="content">
|
<section id="content">
|
||||||
{% for article in articles_page.object_list %}
|
{% for article in articles_page.object_list %}
|
||||||
{# First item #}
|
|
||||||
{% if loop.index <= 3 %}
|
{% if loop.index <= 3 %}
|
||||||
<div class="featured">
|
<div class="featured">
|
||||||
<article>
|
<article>
|
||||||
@ -29,6 +28,11 @@
|
|||||||
<div class="entry-content e-content">{{ article.content }}</div>
|
<div class="entry-content e-content">{{ article.content }}</div>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
{% if loop.index < 3 %}
|
||||||
|
{% if loop.last %}
|
||||||
|
</section>
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
{% if loop.index == 3 %}
|
{% if loop.index == 3 %}
|
||||||
</section>
|
</section>
|
||||||
<section id="list">
|
<section id="list">
|
||||||
|
@ -1,5 +1,2 @@
|
|||||||
{% extends "index.html" %}
|
{% extends "index.html" %}
|
||||||
{% block content_title %}
|
|
||||||
<h2>Articles in the {{ tag }} tag</h2>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user