myconf.take, myconf.get

This commit is contained in:
mdipierro
2016-02-26 14:20:18 -06:00
parent ef9bf73973
commit 218817753a
5 changed files with 58 additions and 19 deletions
+4 -4
View File
@@ -12,10 +12,10 @@ response.title = request.application.replace('_',' ').title()
response.subtitle = ''
## read more at http://dev.w3.org/html5/markup/meta.name.html
response.meta.author = 'Your Name <you@example.com>'
response.meta.description = 'a cool new app'
response.meta.keywords = 'web2py, python, framework'
response.meta.generator = 'Web2py Web Framework'
response.meta.author = myconf.get('app.author')
response.meta.description = myconf.get('app.description')
response.meta.keywords = myconf.get('app.keywords')
response.meta.generator = myconf.get('app.generator')
## your http://google.com/analytics id
response.google_analytics_id = None