fix: avoid deprecated config methods for app/node title
This commit is contained in:
parent
7c3d5b46f3
commit
b8ace1eb98
7 changed files with 23 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
|
||||
<%def name="app_title()">${request.rattail_config.node_title(default="Rattail")}</%def>
|
||||
<%def name="app_title()">${rattail_app.get_node_title()}</%def>
|
||||
|
||||
<%def name="global_title()">${"[STAGE] " if not request.rattail_config.production() else ''}${self.app_title()}</%def>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue