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