- 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)
34 lines
1.6 KiB
JSON
34 lines
1.6 KiB
JSON
{
|
|
"name": "vue-journal-layer",
|
|
"version": "0.7.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./nuxt.config.ts",
|
|
"scripts": {
|
|
"dev": "nuxi dev .playground",
|
|
"build:playground": "nuxt build .playground",
|
|
"test": "node --test --test-reporter=tap tests/*.test.ts",
|
|
"smoke:ssr": "node testing/smoke-ssr.mjs --output .playground/.output --fixtures testing/fixtures/acme --expect testing/expect-acme.txt && node testing/smoke-ssr.mjs --output .playground/.output --fixtures testing/fixtures/acme --expect testing/expect-acme-title-h1.txt --env NUXT_PUBLIC_JOURNAL_POST_TITLE_TAG=h1 && node testing/smoke-ssr.mjs --output .playground/.output --fixtures testing/fixtures/acme --expect testing/expect-acme-title-p.txt --env NUXT_PUBLIC_JOURNAL_POST_TITLE_TAG=p && node testing/smoke-ssr.mjs --output .playground/.output --fixtures testing/fixtures/acme --expect testing/expect-acme-hint-off.txt --env NUXT_PUBLIC_SEO_LINKS_NEW_TAB_HINT=false && node testing/smoke-ssr.mjs --output .playground/.output --fixtures testing/fixtures/acme --expect testing/expect-acme-breadcrumbs-off.txt --env NUXT_PUBLIC_JOURNAL_BREADCRUMBS=false",
|
|
"dev:prepare": "nuxt prepare .playground",
|
|
"check:git-install": "bash scripts/check-git-install.sh"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.18"
|
|
},
|
|
"dependencies": {
|
|
"@nuxt/fonts": "0.14.0",
|
|
"@nuxtjs/i18n": "10.4.0",
|
|
"sanitize-html": "2.18.0",
|
|
"vue-seo-layer": "link:../vue-seo-layer"
|
|
},
|
|
"peerDependencies": {
|
|
"nuxt": "4.4.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/sanitize-html": "2.16.2",
|
|
"nuxt": "4.4.8",
|
|
"typescript": "5.9.3",
|
|
"vue": "3.5.35"
|
|
}
|
|
}
|