From 65bc0285248e7911b255f53f163d42e80b39b14b Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Wed, 19 May 2021 22:30:20 -0500 Subject: [PATCH] implement base-wide.html as an extension of base.html not quite sure why I didn't think of this initially... too much hacking --- incorporealcms/templates/base-wide.html | 40 ++----------------------- incorporealcms/templates/base.html | 2 +- 2 files changed, 3 insertions(+), 39 deletions(-) diff --git a/incorporealcms/templates/base-wide.html b/incorporealcms/templates/base-wide.html index 3e08b7b..569e857 100644 --- a/incorporealcms/templates/base-wide.html +++ b/incorporealcms/templates/base-wide.html @@ -1,38 +1,2 @@ - - -{{ title }} -{% if title %}{% endif %} -{% if description %}{% endif %} -{% if image %}{% endif %} - - - - - - -
- {% block header %} -
- - -
- {% endblock %} - {% block body %} -
- {{ content }} -
-
- Last modified: {{ mtime }} -
- {% endblock %} -
- +{% extends "base.html" %} +{% block site_class %}class="wide-site-wrap"{% endblock %} diff --git a/incorporealcms/templates/base.html b/incorporealcms/templates/base.html index 0d71a44..da26990 100644 --- a/incorporealcms/templates/base.html +++ b/incorporealcms/templates/base.html @@ -10,7 +10,7 @@ -
+
{% block header %}