+
{{ image.description|markdown-to-html|safe }}
{% endif %}
diff --git a/resources/templates/index.html b/resources/templates/index.html
index 57649d6..7a7a8fd 100644
--- a/resources/templates/index.html
+++ b/resources/templates/index.html
@@ -1,20 +1,14 @@
{% extends "layout.html" %}
{% block content %}
-
- {% for image in images %}
-
-
-
- {% endfor %}
-
-
-
{% if pages|count > 1 %}
+
{% endif %}
+
+
+ {% for image in images %}
+
+
+
+ {% endfor %}
+
+
{% endblock %}
diff --git a/resources/templates/layout.html b/resources/templates/layout.html
index 122fe1f..0f0154d 100644
--- a/resources/templates/layout.html
+++ b/resources/templates/layout.html
@@ -6,21 +6,36 @@
yenu -- the image sharing tool for friends
-