fixed toolbar/configuration issue

This commit is contained in:
mdipierro
2017-11-14 00:50:44 -06:00
parent 999e7b7512
commit d59e7f35ed
2 changed files with 2 additions and 1 deletions

View File

@@ -118,6 +118,7 @@ response.meta.author = configuration.get('app.author')
response.meta.description = configuration.get('app.description')
response.meta.keywords = configuration.get('app.keywords')
response.meta.generator = configuration.get('app.generator')
response.show_toolbar = configuration.get('app.toolbar')
# -------------------------------------------------------------------------
# your http://google.com/analytics id

View File

@@ -94,7 +94,7 @@
{{block center}}
{{include}}
{{end}}
{{=response.toolbar() if 'configuration' in globals() and configuration.get('app.toolbar') else ''}}
{{=response.toolbar() if response.show_toolbar else ''}}
</div>
</div>