- renderJournalBody runs the UI-SPEC L7 order on the sanitized body: h1 demotion, the CMS phrase auto-links, the outbound rules and lazy, async images, with vue-seo-layer's autolink, applyOutbound and imageAttrs; PostBody feeds it the page's resolve answer (autolinks, autolink_max, outbound, url) and the seo.links.newTabHint option - the sanitizer keeps a link rel of only nofollow, sponsored and ugc (the Blog Editor's link form, as the Journal plugin's policy does); target is never kept, the outbound rules add it - editor-corpus.json copied again from sm-journal-plugin (link-rel and image-decorative entries) - smoke:ssr script; expectations for auto-links, both new-tab modes and the hint switched off
452 lines
11 KiB
JSON
452 lines
11 KiB
JSON
{
|
|
"/blog/hello-acme": {
|
|
"action": "ok",
|
|
"status": 200,
|
|
"url": "https://acme.test/blog/hello-acme",
|
|
"locale": "en",
|
|
"staging": false,
|
|
"seo": {
|
|
"title": "Hello Acme | Acme Blog",
|
|
"description": "Acme says hello and introduces its blog.",
|
|
"canonical": "https://acme.test/blog/hello-acme",
|
|
"robots": "index, follow",
|
|
"x_robots_tag": "",
|
|
"og": {
|
|
"title": "Hello Acme",
|
|
"description": "Acme says hello and introduces its blog.",
|
|
"image": "",
|
|
"url": "https://acme.test/blog/hello-acme",
|
|
"locale": "en_US",
|
|
"locale_alternates": []
|
|
},
|
|
"twitter": {
|
|
"card": "summary_large_image",
|
|
"site": ""
|
|
},
|
|
"verification": []
|
|
},
|
|
"html_lang": "en",
|
|
"alternates": [],
|
|
"jsonld": {
|
|
"@context": "https://schema.org",
|
|
"@graph": [
|
|
{
|
|
"@type": "WebSite",
|
|
"@id": "https://acme.test/#website",
|
|
"url": "https://acme.test/",
|
|
"name": "Acme Blog"
|
|
},
|
|
{
|
|
"@type": "WebPage",
|
|
"@id": "https://acme.test/blog/hello-acme#webpage",
|
|
"url": "https://acme.test/blog/hello-acme",
|
|
"name": "Hello Acme",
|
|
"isPartOf": {
|
|
"@id": "https://acme.test/#website"
|
|
}
|
|
},
|
|
{
|
|
"@type": "BlogPosting",
|
|
"@id": "https://acme.test/blog/hello-acme#article",
|
|
"headline": "Hello Acme",
|
|
"mainEntityOfPage": {
|
|
"@id": "https://acme.test/blog/hello-acme#webpage"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"breadcrumbs": [
|
|
{
|
|
"name": "Home",
|
|
"url": "https://acme.test/",
|
|
"path": "/"
|
|
},
|
|
{
|
|
"name": "Blog",
|
|
"url": "https://acme.test/blog",
|
|
"path": "/blog"
|
|
},
|
|
{
|
|
"name": "Hello Acme",
|
|
"url": "https://acme.test/blog/hello-acme",
|
|
"path": "/blog/hello-acme"
|
|
}
|
|
],
|
|
"autolinks": [
|
|
{
|
|
"phrase": "Acme",
|
|
"url": "https://acme.test/blog/hello-acme"
|
|
},
|
|
{
|
|
"phrase": "Welcome",
|
|
"url": "/blog/acme-note-06"
|
|
},
|
|
{
|
|
"phrase": "roller skates",
|
|
"url": "/blog/acme-note-03"
|
|
},
|
|
{
|
|
"phrase": "rockets",
|
|
"url": "/blog/acme-note-05"
|
|
},
|
|
{
|
|
"phrase": "anvils",
|
|
"url": "/blog/acme-note-07"
|
|
}
|
|
],
|
|
"autolink_max": 2,
|
|
"outbound": {
|
|
"new_tab": true,
|
|
"nofollow_domains": [
|
|
"partner.test"
|
|
],
|
|
"sponsored_domains": [
|
|
"ads.test"
|
|
]
|
|
}
|
|
},
|
|
"/blog/heading-on": {
|
|
"action": "ok",
|
|
"status": 200,
|
|
"url": "https://acme.test/blog/heading-on",
|
|
"locale": "en",
|
|
"staging": false,
|
|
"seo": {
|
|
"title": "Heading On Sample | Acme Blog",
|
|
"description": "Heading On Sample shows the Journal H1 setting on.",
|
|
"canonical": "https://acme.test/blog/heading-on",
|
|
"robots": "index, follow",
|
|
"x_robots_tag": "",
|
|
"og": {
|
|
"title": "Heading On Sample",
|
|
"description": "Heading On Sample shows the Journal H1 setting on.",
|
|
"image": "",
|
|
"url": "https://acme.test/blog/heading-on",
|
|
"locale": "en_US",
|
|
"locale_alternates": []
|
|
},
|
|
"twitter": {
|
|
"card": "summary_large_image",
|
|
"site": ""
|
|
},
|
|
"verification": []
|
|
},
|
|
"html_lang": "en",
|
|
"alternates": [],
|
|
"jsonld": {
|
|
"@context": "https://schema.org",
|
|
"@graph": [
|
|
{
|
|
"@type": "WebSite",
|
|
"@id": "https://acme.test/#website",
|
|
"url": "https://acme.test/",
|
|
"name": "Acme Blog"
|
|
},
|
|
{
|
|
"@type": "WebPage",
|
|
"@id": "https://acme.test/blog/heading-on#webpage",
|
|
"url": "https://acme.test/blog/heading-on",
|
|
"name": "Heading On Sample",
|
|
"isPartOf": {
|
|
"@id": "https://acme.test/#website"
|
|
}
|
|
},
|
|
{
|
|
"@type": "BlogPosting",
|
|
"@id": "https://acme.test/blog/heading-on#article",
|
|
"headline": "Heading On Sample",
|
|
"mainEntityOfPage": {
|
|
"@id": "https://acme.test/blog/heading-on#webpage"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"breadcrumbs": [
|
|
{
|
|
"name": "Home",
|
|
"url": "https://acme.test/",
|
|
"path": "/"
|
|
},
|
|
{
|
|
"name": "Blog",
|
|
"url": "https://acme.test/blog",
|
|
"path": "/blog"
|
|
},
|
|
{
|
|
"name": "Heading On Sample",
|
|
"url": "https://acme.test/blog/heading-on",
|
|
"path": "/blog/heading-on"
|
|
}
|
|
]
|
|
},
|
|
"/blog/heading-off": {
|
|
"action": "ok",
|
|
"status": 200,
|
|
"url": "https://acme.test/blog/heading-off",
|
|
"locale": "en",
|
|
"staging": false,
|
|
"seo": {
|
|
"title": "Heading Off Sample | Acme Blog",
|
|
"description": "Heading Off Sample shows the Journal H1 setting off.",
|
|
"canonical": "https://acme.test/blog/heading-off",
|
|
"robots": "index, follow",
|
|
"x_robots_tag": "",
|
|
"og": {
|
|
"title": "Heading Off Sample",
|
|
"description": "Heading Off Sample shows the Journal H1 setting off.",
|
|
"image": "",
|
|
"url": "https://acme.test/blog/heading-off",
|
|
"locale": "en_US",
|
|
"locale_alternates": []
|
|
},
|
|
"twitter": {
|
|
"card": "summary_large_image",
|
|
"site": ""
|
|
},
|
|
"verification": []
|
|
},
|
|
"html_lang": "en",
|
|
"alternates": [],
|
|
"jsonld": {
|
|
"@context": "https://schema.org",
|
|
"@graph": [
|
|
{
|
|
"@type": "WebSite",
|
|
"@id": "https://acme.test/#website",
|
|
"url": "https://acme.test/",
|
|
"name": "Acme Blog"
|
|
},
|
|
{
|
|
"@type": "WebPage",
|
|
"@id": "https://acme.test/blog/heading-off#webpage",
|
|
"url": "https://acme.test/blog/heading-off",
|
|
"name": "Heading Off Sample",
|
|
"isPartOf": {
|
|
"@id": "https://acme.test/#website"
|
|
}
|
|
},
|
|
{
|
|
"@type": "BlogPosting",
|
|
"@id": "https://acme.test/blog/heading-off#article",
|
|
"headline": "Heading Off Sample",
|
|
"mainEntityOfPage": {
|
|
"@id": "https://acme.test/blog/heading-off#webpage"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"breadcrumbs": [
|
|
{
|
|
"name": "Home",
|
|
"url": "https://acme.test/",
|
|
"path": "/"
|
|
},
|
|
{
|
|
"name": "Blog",
|
|
"url": "https://acme.test/blog",
|
|
"path": "/blog"
|
|
},
|
|
{
|
|
"name": "Heading Off Sample",
|
|
"url": "https://acme.test/blog/heading-off",
|
|
"path": "/blog/heading-off"
|
|
}
|
|
],
|
|
"outbound": {
|
|
"new_tab": false,
|
|
"nofollow_domains": [
|
|
"partner.test"
|
|
],
|
|
"sponsored_domains": []
|
|
}
|
|
},
|
|
"/blog": {
|
|
"action": "ok",
|
|
"status": 200,
|
|
"url": "https://acme.test/blog",
|
|
"locale": "en",
|
|
"staging": false,
|
|
"seo": {
|
|
"title": "Latest posts | Acme Blog",
|
|
"description": "Every post of the Acme blog.",
|
|
"canonical": "https://acme.test/blog",
|
|
"robots": "index, follow",
|
|
"x_robots_tag": "",
|
|
"og": {
|
|
"title": "Latest posts",
|
|
"description": "Every post of the Acme blog.",
|
|
"image": "",
|
|
"url": "https://acme.test/blog",
|
|
"locale": "en_US",
|
|
"locale_alternates": []
|
|
},
|
|
"twitter": {
|
|
"card": "summary_large_image",
|
|
"site": ""
|
|
},
|
|
"verification": []
|
|
},
|
|
"html_lang": "en",
|
|
"alternates": [],
|
|
"jsonld": {
|
|
"@context": "https://schema.org",
|
|
"@graph": [
|
|
{
|
|
"@type": "WebSite",
|
|
"@id": "https://acme.test/#website",
|
|
"url": "https://acme.test/",
|
|
"name": "Acme Blog"
|
|
},
|
|
{
|
|
"@type": "WebPage",
|
|
"@id": "https://acme.test/blog#webpage",
|
|
"url": "https://acme.test/blog",
|
|
"name": "Latest posts",
|
|
"isPartOf": {
|
|
"@id": "https://acme.test/#website"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"breadcrumbs": [
|
|
{
|
|
"name": "Home",
|
|
"url": "https://acme.test/",
|
|
"path": "/"
|
|
},
|
|
{
|
|
"name": "Blog",
|
|
"url": "https://acme.test/blog",
|
|
"path": "/blog"
|
|
}
|
|
]
|
|
},
|
|
"/blog?page=2": {
|
|
"action": "ok",
|
|
"status": 200,
|
|
"url": "https://acme.test/blog?page=2",
|
|
"locale": "en",
|
|
"staging": false,
|
|
"seo": {
|
|
"title": "Latest posts | Acme Blog",
|
|
"description": "Every post of the Acme blog, page 2.",
|
|
"canonical": "https://acme.test/blog?page=2",
|
|
"robots": "index, follow",
|
|
"x_robots_tag": "",
|
|
"og": {
|
|
"title": "Latest posts",
|
|
"description": "Every post of the Acme blog, page 2.",
|
|
"image": "",
|
|
"url": "https://acme.test/blog?page=2",
|
|
"locale": "en_US",
|
|
"locale_alternates": []
|
|
},
|
|
"twitter": {
|
|
"card": "summary_large_image",
|
|
"site": ""
|
|
},
|
|
"verification": []
|
|
},
|
|
"html_lang": "en",
|
|
"alternates": [],
|
|
"jsonld": {
|
|
"@context": "https://schema.org",
|
|
"@graph": [
|
|
{
|
|
"@type": "WebSite",
|
|
"@id": "https://acme.test/#website",
|
|
"url": "https://acme.test/",
|
|
"name": "Acme Blog"
|
|
},
|
|
{
|
|
"@type": "WebPage",
|
|
"@id": "https://acme.test/blog?page=2#webpage",
|
|
"url": "https://acme.test/blog?page=2",
|
|
"name": "Latest posts",
|
|
"isPartOf": {
|
|
"@id": "https://acme.test/#website"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"breadcrumbs": [
|
|
{
|
|
"name": "Home",
|
|
"url": "https://acme.test/",
|
|
"path": "/"
|
|
},
|
|
{
|
|
"name": "Blog",
|
|
"url": "https://acme.test/blog",
|
|
"path": "/blog"
|
|
}
|
|
],
|
|
"pagination": {
|
|
"form": "query",
|
|
"param": "page",
|
|
"page": 2
|
|
}
|
|
},
|
|
"/blog/author/jdoe": {
|
|
"action": "ok",
|
|
"status": 200,
|
|
"url": "https://acme.test/blog/author/jdoe",
|
|
"locale": "en",
|
|
"staging": false,
|
|
"seo": {
|
|
"title": "Jane Doe | Acme Blog",
|
|
"description": "Posts by Jane Doe.",
|
|
"canonical": "",
|
|
"robots": "index, follow",
|
|
"x_robots_tag": "",
|
|
"og": {
|
|
"title": "Jane Doe",
|
|
"description": "Posts by Jane Doe.",
|
|
"image": "",
|
|
"url": "https://acme.test/blog/author/jdoe",
|
|
"locale": "en_US",
|
|
"locale_alternates": []
|
|
},
|
|
"twitter": {
|
|
"card": "summary_large_image",
|
|
"site": ""
|
|
},
|
|
"verification": []
|
|
},
|
|
"html_lang": "en",
|
|
"alternates": [],
|
|
"jsonld": {
|
|
"@context": "https://schema.org",
|
|
"@graph": [
|
|
{
|
|
"@type": "WebSite",
|
|
"@id": "https://acme.test/#website",
|
|
"url": "https://acme.test/",
|
|
"name": "Acme Blog"
|
|
},
|
|
{
|
|
"@type": "WebPage",
|
|
"@id": "https://acme.test/blog/author/jdoe#webpage",
|
|
"url": "https://acme.test/blog/author/jdoe",
|
|
"name": "Jane Doe",
|
|
"isPartOf": {
|
|
"@id": "https://acme.test/#website"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"breadcrumbs": [
|
|
{
|
|
"name": "Home",
|
|
"url": "https://acme.test/",
|
|
"path": "/"
|
|
},
|
|
{
|
|
"name": "Blog",
|
|
"url": "https://acme.test/blog",
|
|
"path": "/blog"
|
|
}
|
|
]
|
|
}
|
|
}
|