From 36938e8bcb5bba81dbac8df2a0314a96a881d50a Mon Sep 17 00:00:00 2001 From: carlfeberhard Date: Mon, 25 Jul 2016 10:53:44 -0400 Subject: [PATCH] Reorder base templates meta tags Move title below recommended first three meta tags: https://github.com/joshbuchea/HEAD#recommended-minimum --- templates/base.mako | 7 ++++++- templates/base/base_panels.mako | 11 ++++++----- templates/js-app.mako | 3 ++- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/templates/base.mako b/templates/base.mako index dc14400a8c4..22af35c1e4f 100644 --- a/templates/base.mako +++ b/templates/base.mako @@ -7,8 +7,13 @@ ${self.init()} - ${self.title()} + ## For mobile browsers, don't scale up + + ## Force IE to standards mode, and prefer Google Chrome Frame if the user has already installed it + + + ${self.title()} ## relative href for site root ${self.metas()} diff --git a/templates/base/base_panels.mako b/templates/base/base_panels.mako index f816659294a..de977726c68 100644 --- a/templates/base/base_panels.mako +++ b/templates/base/base_panels.mako @@ -160,16 +160,17 @@ ${self.init()} - %if app.config.brand: - ${self.title()} / ${app.config.brand} - %else: - ${self.title()} - %endif ## For mobile browsers, don't scale up ## Force IE to standards mode, and prefer Google Chrome Frame if the user has already installed it + + %if app.config.brand: + ${self.title()} / ${app.config.brand} + %else: + ${self.title()} + %endif ## relative href for site root ${self.stylesheets()} diff --git a/templates/js-app.mako b/templates/js-app.mako index 94bd32d2377..62f440ec614 100644 --- a/templates/js-app.mako +++ b/templates/js-app.mako @@ -3,12 +3,13 @@ - Galaxy ## For mobile browsers, don't scale up ## Force IE to standards mode, and prefer Google Chrome Frame if the user has already installed it + + Galaxy ## relative href for site root ## TODO: use loaders to move everything but the essentials below the fold