feat: vue-seo-layer, the Nuxt half of the SummerCMS SEO plugin
This commit is contained in:
38
testing/fixtures/resolve.json
Normal file
38
testing/fixtures/resolve.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"/": {
|
||||
"action": "ok", "status": 200, "url": "https://acme.test/", "locale": "en", "staging": false,
|
||||
"seo": {
|
||||
"title": "Home | Acme", "description": "Acme home", "canonical": "https://acme.test/",
|
||||
"robots": "index, follow", "x_robots_tag": "index, follow",
|
||||
"og": { "title": "Home | Acme", "description": "Acme home", "image": "https://acme.test/home.png", "url": "https://acme.test/" },
|
||||
"twitter": { "card": "summary_large_image", "site": "@acme" },
|
||||
"verification": []
|
||||
}
|
||||
},
|
||||
"/about": {
|
||||
"action": "ok", "status": 200, "url": "https://acme.test/about", "locale": "en", "staging": false,
|
||||
"seo": {
|
||||
"title": "About us | Acme", "description": "Who we are", "canonical": "https://acme.test/about",
|
||||
"robots": "index, follow, max-image-preview:large", "x_robots_tag": "index, follow, max-image-preview:large",
|
||||
"og": { "title": "About us | Acme", "description": "Who we are", "image": "", "url": "https://acme.test/about" },
|
||||
"twitter": { "card": "summary", "site": "@acme" },
|
||||
"verification": [{ "name": "google-site-verification", "content": "fixture-google-code" }]
|
||||
}
|
||||
},
|
||||
"/partial": {
|
||||
"action": "ok", "status": 200, "url": "https://acme.test/partial", "locale": "en", "staging": false,
|
||||
"seo": {
|
||||
"title": "", "description": "", "canonical": "https://acme.test/partial",
|
||||
"robots": "", "x_robots_tag": "",
|
||||
"og": { "title": "", "description": "", "image": "", "url": "" },
|
||||
"twitter": { "card": "", "site": "" },
|
||||
"verification": []
|
||||
}
|
||||
},
|
||||
"/staging": { "action": "not_found", "status": 404, "url": "https://acme.test/staging", "locale": "", "staging": true, "seo": null },
|
||||
"/old-path": { "action": "redirect", "status": 301, "location": "https://acme.test/about", "url": "https://acme.test/old-path", "locale": "", "staging": false, "seo": null },
|
||||
"/old-temp?ref=1": { "action": "redirect", "status": 302, "location": "https://acme.test/about?x=1", "url": "https://acme.test/old-temp?ref=1", "locale": "", "staging": false, "seo": null },
|
||||
"/moved": { "action": "redirect", "status": 301, "location": "https://other.test/x", "url": "https://acme.test/moved", "locale": "", "staging": false, "seo": null },
|
||||
"/gone-path": { "action": "gone", "status": 410, "url": "https://acme.test/gone-path", "locale": "", "staging": false, "seo": null },
|
||||
"/posts/gone-post": { "action": "gone", "status": 410, "url": "https://acme.test/posts/gone-post", "locale": "", "staging": false, "seo": null }
|
||||
}
|
||||
2
testing/fixtures/verification/google0123.html
Normal file
2
testing/fixtures/verification/google0123.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<!-- fixture -->
|
||||
google-site-verification: google0123.html
|
||||
Reference in New Issue
Block a user