Reorder base templates meta tags

Move title below recommended first three meta tags:
https://github.com/joshbuchea/HEAD#recommended-minimum
This commit is contained in:
carlfeberhard
2016-07-25 10:53:44 -04:00
parent 5e4986875d
commit 36938e8bcb
3 changed files with 14 additions and 7 deletions
+6 -1
View File
@@ -7,8 +7,13 @@
<!--base.mako-->
${self.init()}
<head>
<title>${self.title()}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
## For mobile browsers, don't scale up
<meta name = "viewport" content = "maximum-scale=1.0">
## Force IE to standards mode, and prefer Google Chrome Frame if the user has already installed it
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>${self.title()}</title>
## relative href for site root
<link rel="index" href="${ h.url_for( '/' ) }"/>
${self.metas()}
+6 -5
View File
@@ -160,16 +160,17 @@
<!--base_panels.mako-->
${self.init()}
<head>
%if app.config.brand:
<title>${self.title()} / ${app.config.brand}</title>
%else:
<title>${self.title()}</title>
%endif
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
## For mobile browsers, don't scale up
<meta name = "viewport" content = "maximum-scale=1.0">
## Force IE to standards mode, and prefer Google Chrome Frame if the user has already installed it
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
%if app.config.brand:
<title>${self.title()} / ${app.config.brand}</title>
%else:
<title>${self.title()}</title>
%endif
## relative href for site root
<link rel="index" href="${ h.url_for( '/' ) }"/>
${self.stylesheets()}
+2 -1
View File
@@ -3,12 +3,13 @@
<html>
<!--js-app.mako-->
<head>
<title>Galaxy</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
## For mobile browsers, don't scale up
<meta name="viewport" content="maximum-scale=1.0">
## Force IE to standards mode, and prefer Google Chrome Frame if the user has already installed it
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>Galaxy</title>
## relative href for site root
<link rel="index" href="${ h.url_for( '/' ) }"/>
## TODO: use loaders to move everything but the essentials below the fold