Move base template to /base_meta.mako

per upstream 'themes' feature
This commit is contained in:
Lance Edgar 2018-11-27 17:57:46 -06:00
parent e3d9d7d4e5
commit 46867b1154

View file

@ -1,11 +1,7 @@
## -*- coding: utf-8; -*- ## -*- 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> <%def name="app_title()">Rattail Demo</%def>
<%def name="favicon()">
<link rel="icon" type="image/x-icon" href="${request.static_url('tailbone:static/img/rattail.ico')}" />
</%def>
<%def name="head_tags()"> <%def name="head_tags()">
<!-- Piwik --> <!-- Piwik -->
@ -28,5 +24,3 @@
<%def name="header_logo()"> <%def name="header_logo()">
${h.image(request.static_url('tailbone:static/img/rattail.ico'), "Header Logo", height='49')} ${h.image(request.static_url('tailbone:static/img/rattail.ico'), "Header Logo", height='49')}
</%def> </%def>
${parent.body()}