mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 21:10:38 +00:00
fix: add title before other meta for better SEO (#3362)
This commit is contained in:
parent
aaf44cf20a
commit
66030467d1
@ -55,8 +55,8 @@ export default class MetaRenderer {
|
|||||||
|
|
||||||
// HEAD tags
|
// HEAD tags
|
||||||
meta.HEAD =
|
meta.HEAD =
|
||||||
m.meta.text() +
|
|
||||||
m.title.text() +
|
m.title.text() +
|
||||||
|
m.meta.text() +
|
||||||
m.link.text() +
|
m.link.text() +
|
||||||
m.style.text() +
|
m.style.text() +
|
||||||
m.script.text() +
|
m.script.text() +
|
||||||
|
@ -339,8 +339,8 @@ export default class Renderer {
|
|||||||
}
|
}
|
||||||
const m = context.meta.inject()
|
const m = context.meta.inject()
|
||||||
let HEAD =
|
let HEAD =
|
||||||
m.meta.text() +
|
|
||||||
m.title.text() +
|
m.title.text() +
|
||||||
|
m.meta.text() +
|
||||||
m.link.text() +
|
m.link.text() +
|
||||||
m.style.text() +
|
m.style.text() +
|
||||||
m.script.text() +
|
m.script.text() +
|
||||||
|
Loading…
Reference in New Issue
Block a user