From b2bda5e31d01b9db1aba2c57786b48c0623525ae Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 15 Jun 2021 15:51:11 -0500 Subject: [PATCH] Allow config to set favicon and header image it already could set "main" image, shown in home and login pages --- tailbone/templates/base_meta.mako | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tailbone/templates/base_meta.mako b/tailbone/templates/base_meta.mako index ec097e5d..568782b7 100644 --- a/tailbone/templates/base_meta.mako +++ b/tailbone/templates/base_meta.mako @@ -5,10 +5,12 @@ <%def name="global_title()">${"[STAGE] " if not request.rattail_config.production() else ''}${self.app_title()} <%def name="favicon()"> - + -<%def name="header_logo()"> +<%def name="header_logo()"> + ${h.image(request.rattail_config.get('tailbone', 'header_image_url', default=request.static_url('tailbone:static/img/rattail.ico')), "Header Logo", style="height: 49px;")} + <%def name="footer()">