rra 7 years ago
parent
commit
0139e8663e
  1. 1
      theme/wttf/templates/article.html
  2. 6
      theme/wttf/templates/index.html
  3. 3
      theme/wttf/templates/tag.html

1
theme/wttf/templates/article.html

@ -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 %}

6
theme/wttf/templates/index.html

@ -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">

3
theme/wttf/templates/tag.html

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

Loading…
Cancel
Save