From 3bc0ba73eef5093a1f1cf0a0ad91e2d89c8fddae Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 30 Nov 2018 15:32:59 -0600 Subject: [PATCH] Fix `app_title` reference in mobile templates --- tailbone/templates/mobile/home.mako | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tailbone/templates/mobile/home.mako b/tailbone/templates/mobile/home.mako index ebb0bda8..1daafd86 100644 --- a/tailbone/templates/mobile/home.mako +++ b/tailbone/templates/mobile/home.mako @@ -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 name="page_title()">
- ${h.image(image_url, "{} logo".format(capture(self.app_title)), id='logo', width=300)} -

Welcome to ${self.app_title()}

+ ${h.image(image_url, "{} logo".format(capture(base_meta.app_title)), id='logo', width=300)} +

Welcome to ${base_meta.app_title()}