valid html5 welcome, thanks Rob McC
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.00.0 (2012-08-06 13:39:52) dev
|
||||
Version 2.00.0 (2012-08-06 17:36:46) dev
|
||||
|
||||
@@ -13,7 +13,6 @@ 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.copyright = 'Copyright 2012'
|
||||
|
||||
## your http://google.com/analytics id
|
||||
response.google_analytics_id = None
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{{if 'message' in globals():}}
|
||||
<h3>{{=message}}</h3>
|
||||
|
||||
<h4/>{{=T('How did you get here?')}}</h4>
|
||||
<h4>{{=T('How did you get here?')}}</h4>
|
||||
<ol>
|
||||
<li>{{=T('You are successfully running web2py')}}</li>
|
||||
<li>{{=XML(T('You visited the url %s', A(request.env.path_info,_href=request.env.path_info)))}}</li>
|
||||
@@ -16,7 +16,6 @@
|
||||
A('web2py/applications/%(application)s/views/%(controller)s/index.html'%request,
|
||||
_href=URL('admin','default','peek',args=(request.application,'views',request.controller,'index.html')))))}}</li>
|
||||
<li>{{=T('You can modify this application and adapt it to your needs')}}</li>
|
||||
</ul>
|
||||
</ol>
|
||||
{{else:}}
|
||||
{{=BEAUTIFY(response._vars)}}
|
||||
|
||||
+2
-2
@@ -220,9 +220,9 @@ class Response(Storage):
|
||||
return page
|
||||
|
||||
def include_meta(self):
|
||||
s = ''
|
||||
s = '\n'
|
||||
for key,value in (self.meta or {}).items():
|
||||
s += '<meta name="%s" content="%s" />' % (key,xmlescape(value))
|
||||
s += '<meta name="%s" content="%s" />\n' % (key,xmlescape(value))
|
||||
self.write(s,escape=False)
|
||||
|
||||
def include_files(self):
|
||||
|
||||
Reference in New Issue
Block a user