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 class="entry-content e-content">{{ article.content }}</div>
</section>
{% endblock %}

6
theme/wttf/templates/index.html

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

3
theme/wttf/templates/tag.html

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

Loading…
Cancel
Save