Just show default favicon and header image

now the base template allows config to specify those
This commit is contained in:
Lance Edgar 2021-06-15 15:54:11 -05:00
parent af96d665bc
commit 150ca31a2a

View file

@ -1,17 +1,8 @@
# -*- 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('corporal.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("Corporal {}{}".format(corporal.__version__, '' if request.rattail_config.production() else '+dev'), url('about'))} ${h.link_to("Corporal {}{}".format(corporal.__version__, '' if request.rattail_config.production() else '+dev'), url('about'))}
</p> </p>
</%def> </%def>