Remove hard-coded favicon, header image urls

upstream default leverages config instead
This commit is contained in:
Lance Edgar 2024-05-31 12:20:13 -05:00
parent af1757b66f
commit 21d448340f

View file

@ -1,15 +1,6 @@
## -*- coding: utf-8; mode: html; -*- ## -*- coding: utf-8; mode: html; -*-
<%inherit file="tailbone:templates/base_meta.mako" /> <%inherit file="tailbone:templates/base_meta.mako" />
<%def name="favicon()">
## <link rel="icon" type="image/x-icon" href="${request.static_url('tailbone_theo.web:static/favicon.ico')}" />
<link rel="icon" type="image/x-icon" href="${request.static_url('tailbone:static/img/rattail.ico')}" />
</%def>
<%def name="header_logo()">
${h.image(request.static_url('tailbone:static/img/rattail.ico'), "Header Logo", style="height: 49px;")}
</%def>
<%def name="footer()"> <%def name="footer()">
<p class="has-text-centered"> <p class="has-text-centered">
${h.link_to("Theo {}{}".format(theo.__version__, '' if request.rattail_config.production() else '+dev'), url('about'))} ${h.link_to("Theo {}{}".format(theo.__version__, '' if request.rattail_config.production() else '+dev'), url('about'))}