summaryrefslogtreecommitdiff
path: root/showcase
diff options
context:
space:
mode:
authorÉtienne Loks <etienne@peacefrogs.net>2019-07-17 16:39:01 +0200
committerÉtienne Loks <etienne@peacefrogs.net>2019-07-17 16:39:01 +0200
commit08ced77fb1fcb29c41c1e7075f57453addd867db (patch)
treefa4c8bf4e256a2ff0611d9290dc4edfa01fe09a5 /showcase
parent7ece2d6d0532b29b6c939ff97e6f1e55c94a028f (diff)
downloadishtar-pergamon-08ced77fb1fcb29c41c1e7075f57453addd867db.tar.bz2
ishtar-pergamon-08ced77fb1fcb29c41c1e7075f57453addd867db.zip
Manage frontpage (jumbotron, logo, brand name, etc.)
Diffstat (limited to 'showcase')
-rw-r--r--showcase/templates/showcase/item-find.html9
-rw-r--r--showcase/templates/showcase/show_case.html26
2 files changed, 15 insertions, 20 deletions
diff --git a/showcase/templates/showcase/item-find.html b/showcase/templates/showcase/item-find.html
index 3cd3b6f..008e55a 100644
--- a/showcase/templates/showcase/item-find.html
+++ b/showcase/templates/showcase/item-find.html
@@ -1,12 +1,9 @@
{% extends "base.html" %}
{% load i18n static wagtailcore_tags wagtailimages_tags %}
-{% block body_class %}template-showcase{% endblock %}
+{% block body_class %}template-showcase-item{% endblock %}
{% block content %}
-<main>
- {{denomination}}
- <img src="{{images.0.thumbnail}}">
-</main>
-
+{{denomination}}
+<img src="{{images.0.thumbnail}}">
{% endblock %}
diff --git a/showcase/templates/showcase/show_case.html b/showcase/templates/showcase/show_case.html
index 4940b43..b6a4afa 100644
--- a/showcase/templates/showcase/show_case.html
+++ b/showcase/templates/showcase/show_case.html
@@ -4,19 +4,17 @@
{% block body_class %}template-showcase{% endblock %}
{% block content %}
-<main>
- {% image page.image width-500 %}
- {{ page.body|richtext }}
- {% if page.data %}<ul>
- {% for item in page.data %}
- <li>
- <a href="{% url 'display-item' page.slug forloop.counter0 %}">
- {{item.denomination}}
- <img src="{{item.images.0.thumbnail}}">
- </a>
- </li>
- {% endfor %}
- </ul>{% endif %}
-</main>
+{% image page.image width-500 %}
+{{ page.body|richtext }}
+{% if page.data %}<ul>
+{% for item in page.data %}
+ <li>
+ <a href="{% url 'display-item' page.slug forloop.counter0 %}">
+ {{item.denomination}}
+ <img src="{{item.images.0.thumbnail}}">
+ </a>
+ </li>
+{% endfor %}
+</ul>{% endif %}
{% endblock %}