From 8d144fb0274113b6fef6f94ad85091f4efbd0e31 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 26 Jan 2015 20:06:20 +0100 Subject: sleepmap-theme: Adding first clone (notmyidea-cms) with modifications --- sleepmap-theme/templates/index.html | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 sleepmap-theme/templates/index.html (limited to 'sleepmap-theme/templates/index.html') diff --git a/sleepmap-theme/templates/index.html b/sleepmap-theme/templates/index.html new file mode 100644 index 0000000..5e1e676 --- /dev/null +++ b/sleepmap-theme/templates/index.html @@ -0,0 +1,43 @@ +{% extends "base.html" %} +{% block content_title %}{% endblock %} +{% block content %} +{% if articles %} +{% for article in articles %} + {% if loop.index == 1 %} +
+ + {% if loop.length > 1 %} +

Other articles

+
+
    + {% endif %} + {% else %} +
  1. + {% endif %} +{% endfor %} +
+
+{% else %} +
+

Pages

+{% for page in PAGES %} +
  • {{ page.title }}
  • +{% endfor %} +
    +{% endif %} +{% endblock content %} -- cgit v1.2.3-70-g09d2