mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
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:
+6
-1
@@ -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()}
|
||||
|
||||
@@ -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()}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user