From 46867b11549073cff633f89b14f1ceba2621a23e Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 27 Nov 2018 17:57:46 -0600 Subject: [PATCH] Move base template to /base_meta.mako per upstream 'themes' feature --- .../web/templates/{base.mako => base_meta.mako} | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) rename rattail_demo/web/templates/{base.mako => base_meta.mako} (72%) diff --git a/rattail_demo/web/templates/base.mako b/rattail_demo/web/templates/base_meta.mako similarity index 72% rename from rattail_demo/web/templates/base.mako rename to rattail_demo/web/templates/base_meta.mako index 9083b95..02252b9 100644 --- a/rattail_demo/web/templates/base.mako +++ b/rattail_demo/web/templates/base_meta.mako @@ -1,11 +1,7 @@ ## -*- coding: utf-8; -*- -<%inherit file="tailbone:templates/base.mako" /> +<%inherit file="tailbone:templates/base_meta.mako" /> -<%def name="global_title()">${"[STAGE] " if not request.rattail_config.production() else ''}Rattail Demo - -<%def name="favicon()"> - - +<%def name="app_title()">Rattail Demo <%def name="head_tags()"> @@ -28,5 +24,3 @@ <%def name="header_logo()"> ${h.image(request.static_url('tailbone:static/img/rattail.ico'), "Header Logo", height='49')} - -${parent.body()}