- post, index, category, tag and author pages render <SeoBreadcrumbs> at the top of their content while journal.breadcrumbs is on (default); false leaves the trail to the site's layout, the BreadcrumbList data is unchanged - JournalPagination renders <SeoPagination class-prefix="journal-pagination"> with the journal's labels: the same class names, plus page 1, the last page, gap items, aria labels and head rel prev/next, with links in the CMS's pagination form - with vue-seo-layer's seo.pagination.form 'path' the module registers <listing>/<segment>/:page routes (journalPagedRoutes), and the listing pages read the page from the :page param or ?page (pageFromRoute) - the category pillar text renders on page 1 only, the description on every page; an h1 in it becomes h2 while the category row's content_h1_to_h2 is on (absent counts as on)
36 lines
861 B
JSON
36 lines
861 B
JSON
[
|
|
{
|
|
"id": 1,
|
|
"name": "News",
|
|
"slug": "news",
|
|
"description": "Company news from Acme.",
|
|
"content": "<h1>About Acme news</h1>\n<p>Acme news marker: every launch, recall and anvil delivery.</p>\n",
|
|
"parent_id": null,
|
|
"nest_depth": 0,
|
|
"post_count": 12,
|
|
"content_h1_to_h2": true
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "Quiet",
|
|
"slug": "quiet",
|
|
"description": "A category with no posts yet.",
|
|
"content": null,
|
|
"parent_id": null,
|
|
"nest_depth": 0,
|
|
"post_count": 0,
|
|
"content_h1_to_h2": true
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "Plain",
|
|
"slug": "plain",
|
|
"description": "A category whose site keeps H1 headings as written.",
|
|
"content": "<h1>Plain pillar heading</h1>\n<p>Plain pillar marker.</p>\n",
|
|
"content_h1_to_h2": false,
|
|
"parent_id": null,
|
|
"nest_depth": 0,
|
|
"post_count": 0
|
|
}
|
|
]
|