render posts after the first on the front page; not too much spacing
[Ultimately_Untrue_Thought.git] / theme / templates / index.html
index 8f82005..56079ac 100644 (file)
@@ -4,33 +4,11 @@
 {% block content %}
 
 {% for article in articles %}
 {% block content %}
 
 {% for article in articles %}
-
-    {% if loop.index == 1 %}
-
-      <article>
-        <h1><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h1>
-        {{ article.content }}
-      </article>
-
-      <hr />
-
-      {% if loop.length  > 1 %}
-        <div>
-          <h3>Last posts</h3>
-          <ol class="archive">
-      {% endif %}
-    
-    {% elif loop.index < 7 %}
-      <li>
-        {% include 'article_link.inc.html' %}
-      </li>
-    {% endif %}
-
+  <article>
+    <h1><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h1>
+    {{ article.content }}
+  </article>
+  <hr />
 {% endfor %}
 
 {% endfor %}
 
-{% if articles|length > 1 %}
-          </ol>
-        </div>
-{% endif %}
-
 {% endblock content %}
 {% endblock content %}