Various template standardization tweaks

This commit is contained in:
Lance Edgar 2017-03-29 00:21:10 -05:00
parent b1f98c1023
commit 1adcb98f11
3 changed files with 7 additions and 3 deletions

View file

@ -102,7 +102,9 @@
</body>
</html>
<%def name="global_title()">${"[STAGE] " if not request.rattail_config.production() else ''}Rattail</%def>
<%def name="app_title()">Rattail</%def>
<%def name="global_title()">${"[STAGE] " if not request.rattail_config.production() else ''}${self.app_title()}</%def>
<%def name="content_title()">
<h1>${self.title()}</h1>