diff -r bb011397a99c -r 9507107a1133 theme/templates/index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/theme/templates/index.html Sat Mar 12 17:37:27 2016 +0100 @@ -0,0 +1,84 @@ +{% extends "base.html" %} + +{% block sidecontent %} +

Recent articles

+
    + +{% set cnt = 0 %} +{% for article in articles_page.object_list %} +{% if cnt < 3 %} +
  1. + {{ article.title }} +
  2. + +{% endif %} +{% set cnt = cnt +1 %} +{% endfor %} +
+All articles... +{% endblock %} + +{% block content %} + +{% block content_title %} +{% endblock %} + + +{% set cnt = 0 %} +{% for article in articles_page.object_list %} + {% if cnt < 2 %} + {% if articles_page.has_previous() %} + + {% if cnt == 0 %} +