Fix app_title
reference in mobile templates
This commit is contained in:
parent
6022ef9be3
commit
3bc0ba73ee
|
@ -1,11 +1,12 @@
|
||||||
## -*- coding: utf-8 -*-
|
## -*- coding: utf-8 -*-
|
||||||
<%inherit file="/mobile/base.mako" />
|
<%inherit file="/mobile/base.mako" />
|
||||||
|
<%namespace name="base_meta" file="/base_meta.mako" />
|
||||||
|
|
||||||
<%def name="title()">Home</%def>
|
<%def name="title()">Home</%def>
|
||||||
|
|
||||||
<%def name="page_title()"></%def>
|
<%def name="page_title()"></%def>
|
||||||
|
|
||||||
<div style="text-align: center;">
|
<div style="text-align: center;">
|
||||||
${h.image(image_url, "{} logo".format(capture(self.app_title)), id='logo', width=300)}
|
${h.image(image_url, "{} logo".format(capture(base_meta.app_title)), id='logo', width=300)}
|
||||||
<h3>Welcome to ${self.app_title()}</h3>
|
<h3>Welcome to ${base_meta.app_title()}</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue