Files
vue-seo-layer/testing/fixtures/seo/resolve.json
Jakub Zych f2d13d6264 feat: pagination component and composable
- <SeoPagination> (UI-SPEC L2): previous and next (left out at the
  ends), page 1, the last page and five pages around the current one with
  gap items; nothing when last <= 1; props current, last, labels,
  classPrefix, locale
- usePagination(): hrefs in the CMS form (resolve answer, then site
  answer, then seo.pagination), other query parameters kept, page 1
  unnumbered, <link rel=prev/next> in the head
- the CMS head fills %pages% in the title and description once the
  listing's page count is known (seoFillPages)
- seoPaginationWindow, seoPageHref, seoPageNumber; L2 default styles
2026-11-04 11:59:51 +01:00

275 lines
6.6 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"/blog/lwia-grzywa": {
"action": "ok",
"status": 200,
"url": "https://example.test/blog/lwia-grzywa",
"locale": "pl",
"staging": false,
"seo": {
"title": "Lwia grzywa | Example",
"description": "Lwia grzywa | Example opis",
"canonical": "https://example.test/blog/lwia-grzywa",
"robots": "index, follow",
"x_robots_tag": "",
"og": {
"title": "Lwia grzywa | Example",
"description": "Lwia grzywa | Example opis",
"image": "https://example.test/img/og.png",
"url": "https://example.test/blog/lwia-grzywa",
"locale": "pl_PL",
"locale_alternates": [
"en_US"
]
},
"twitter": {
"card": "summary_large_image",
"site": "@example"
},
"verification": []
},
"html_lang": "pl",
"alternates": [
{
"hreflang": "pl",
"url": "https://example.test/blog/lwia-grzywa"
},
{
"hreflang": "en",
"url": "https://example.test/en/blog/lions-mane"
},
{
"hreflang": "x-default",
"url": "https://example.test/blog/lwia-grzywa"
}
],
"jsonld": {
"@context": "https://schema.org",
"@graph": [
{
"@type": "WebPage",
"@id": "https://example.test/blog/lwia-grzywa#webpage",
"url": "https://example.test/blog/lwia-grzywa",
"name": "Lwia grzywa",
"isPartOf": {
"@id": "https://example.test/#website"
}
},
{
"@type": "BlogPosting",
"@id": "https://example.test/blog/lwia-grzywa#article",
"headline": "Lwia grzywa </script><script>alert(1)</script>",
"mainEntityOfPage": {
"@id": "https://example.test/blog/lwia-grzywa#webpage"
}
}
]
},
"breadcrumbs": [
{
"name": "Start",
"url": "https://example.test/",
"path": "/"
},
{
"name": "Blog",
"url": "https://example.test/blog",
"path": "/blog"
},
{
"name": "Lwia grzywa",
"url": "https://example.test/blog/lwia-grzywa",
"path": "/blog/lwia-grzywa"
}
]
},
"/stary": {
"action": "redirect",
"status": 301,
"location": "https://example.test/nowy",
"url": "https://example.test/stary",
"locale": "",
"staging": false,
"seo": null
},
"/stary-zewnetrzny": {
"action": "redirect",
"status": 302,
"location": "https://partner.test/oferta?a=1",
"url": "https://example.test/stary-zewnetrzny",
"locale": "",
"staging": false,
"seo": null
},
"/usuniety": {
"action": "gone",
"status": 410,
"url": "https://example.test/usuniety",
"locale": "",
"staging": false,
"seo": null
},
"/usuniety-staging": {
"action": "gone",
"status": 410,
"url": "https://example.test/usuniety-staging",
"locale": "",
"staging": true,
"seo": null
},
"/plain?page=abc": {
"action": "not_found",
"status": 404,
"url": "https://example.test/plain?page=abc",
"locale": "pl",
"staging": false,
"seo": null,
"pagination": {
"form": "query",
"param": "page",
"segment": "",
"page": 0,
"invalid": true
}
},
"/blog/ukryty": {
"action": "ok",
"status": 200,
"url": "https://example.test/blog/ukryty",
"locale": "pl",
"staging": false,
"seo": {
"title": "Ukryty | Example",
"description": "Lwia grzywa | Example opis",
"canonical": "https://example.test/blog/ukryty",
"robots": "noindex, nofollow",
"x_robots_tag": "noindex, nofollow",
"og": {
"title": "Lwia grzywa | Example",
"description": "Lwia grzywa | Example opis",
"image": "https://example.test/img/og.png",
"url": "https://example.test/blog/ukryty",
"locale": "pl_PL",
"locale_alternates": [
"en_US"
]
},
"twitter": {
"card": "summary_large_image",
"site": "@example"
},
"verification": []
},
"html_lang": "pl",
"alternates": [],
"jsonld": null,
"breadcrumbs": [
{
"name": "Start",
"url": "https://example.test/",
"path": "/"
},
{
"name": "Blog",
"url": "https://example.test/blog",
"path": "/blog"
},
{
"name": "Lwia grzywa",
"url": "https://example.test/blog/lwia-grzywa",
"path": "/blog/lwia-grzywa"
}
]
},
"/blog": {
"action": "ok",
"status": 200,
"url": "https://example.test/blog",
"locale": "pl",
"staging": false,
"seo": {
"title": "Blog | Example",
"description": "Wpisy o grzybach",
"canonical": "https://example.test/blog",
"robots": "index, follow",
"x_robots_tag": "",
"og": {
"title": "Blog | Example",
"description": "Wpisy o grzybach",
"image": "",
"url": "https://example.test/blog",
"locale": "pl_PL",
"locale_alternates": []
},
"twitter": {
"card": "summary",
"site": ""
},
"verification": []
},
"html_lang": "pl",
"alternates": [],
"jsonld": null,
"breadcrumbs": [
{
"name": "Start",
"url": "https://example.test/",
"path": "/"
},
{
"name": "Blog",
"url": "https://example.test/blog",
"path": "/blog"
}
]
},
"/blog?page=5": {
"action": "ok",
"status": 200,
"url": "https://example.test/blog?page=5",
"locale": "pl",
"staging": false,
"seo": {
"title": "Blog – strona 5 z %pages% | Example",
"description": "Wpisy o grzybach, strona 5 z %pages%",
"canonical": "https://example.test/blog?page=5",
"robots": "index, follow",
"x_robots_tag": "",
"og": {
"title": "Blog – strona 5 z %pages% | Example",
"description": "Wpisy o grzybach, strona 5 z %pages%",
"image": "",
"url": "https://example.test/blog?page=5",
"locale": "pl_PL",
"locale_alternates": []
},
"twitter": {
"card": "summary",
"site": ""
},
"verification": []
},
"html_lang": "pl",
"alternates": [],
"jsonld": null,
"breadcrumbs": [
{
"name": "Start",
"url": "https://example.test/",
"path": "/"
},
{
"name": "Blog",
"url": "https://example.test/blog",
"path": "/blog"
}
],
"pagination": {
"form": "query",
"param": "page",
"segment": "",
"page": 5,
"invalid": false
}
}
}