Use app node title setting for base template

This commit is contained in:
Lance Edgar 2019-02-02 20:30:14 -06:00
parent d67a2e60fe
commit 38d0ef8542

View file

@ -1,6 +1,6 @@
## -*- coding: utf-8; -*- ## -*- coding: utf-8; -*-
<%def name="app_title()">Rattail</%def> <%def name="app_title()">${request.rattail_config.node_title(default="Rattail")}</%def>
<%def name="global_title()">${"[STAGE] " if not request.rattail_config.production() else ''}${self.app_title()}</%def> <%def name="global_title()">${"[STAGE] " if not request.rattail_config.production() else ''}${self.app_title()}</%def>