From 66030467d1aa8362d1a9df35d487c54d41ae172d Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 23 May 2018 09:47:47 +0300 Subject: [PATCH] fix: add title before other meta for better SEO (#3362) --- lib/core/meta.js | 2 +- lib/core/renderer.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/meta.js b/lib/core/meta.js index 4c7f7b44ee..26cb104212 100644 --- a/lib/core/meta.js +++ b/lib/core/meta.js @@ -55,8 +55,8 @@ export default class MetaRenderer { // HEAD tags meta.HEAD = - m.meta.text() + m.title.text() + + m.meta.text() + m.link.text() + m.style.text() + m.script.text() + diff --git a/lib/core/renderer.js b/lib/core/renderer.js index 5bb3f40cf0..40884cad99 100644 --- a/lib/core/renderer.js +++ b/lib/core/renderer.js @@ -339,8 +339,8 @@ export default class Renderer { } const m = context.meta.inject() let HEAD = - m.meta.text() + m.title.text() + + m.meta.text() + m.link.text() + m.style.text() + m.script.text() +