Just show default favicon and header image
now the base template allows config to specify those
This commit is contained in:
parent
af96d665bc
commit
150ca31a2a
|
@ -1,17 +1,8 @@
|
|||
# -*- coding: utf-8; mode: html; -*-
|
||||
<%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()">
|
||||
<p class="has-text-centered">
|
||||
${h.link_to("Corporal {}{}".format(corporal.__version__, '' if request.rattail_config.production() else '+dev'), url('about'))}
|
||||
</p>
|
||||
</%def>
|
||||
</%def>
|
||||
|
|
Loading…
Reference in a new issue