diff --git a/src/dcow/templates/base.html.j2 b/src/dcow/templates/base.html.j2 new file mode 100644 index 0000000..ec23e43 --- /dev/null +++ b/src/dcow/templates/base.html.j2 @@ -0,0 +1,23 @@ + + + + +{%- block head %} + + Dark Chest of Wonders + +{% endblock head -%} + + + +
+
+

Dark Chest of Wonders

+
+
+{% block body %} +{% endblock body -%} + + + diff --git a/src/dcow/templates/gallery.html.j2 b/src/dcow/templates/gallery.html.j2 index 7530fce..b18cef7 100644 --- a/src/dcow/templates/gallery.html.j2 +++ b/src/dcow/templates/gallery.html.j2 @@ -1,18 +1,7 @@ - - - - - - Dark Chest of Wonders - - - - -
-
-

Dark Chest of Wonders

-
+{% extends "base.html.j2" %} +{% block body %} +
+Upload
{% for image in images|reverse %} @@ -24,6 +13,4 @@
{% endfor %}
- - - +{% endblock body %}