You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any publisher using quintype-node-seo should be able to construct custom breadcrumbs for a page. The breadcrumbs are restricted to story-page and section-page for now. Refer this.
Proposal
We need to introduce another option which is passed from the load-data function of the publisher using quintype-node-seo.
For example, If a publisher returns a new variable called breadcrumbs in load-data:
generateBreadcrumbListData should be able to consume the breadcrumb key passed in the data parameter and it should return the breadcrumb list by doing something like this breadcrumbsDataList.concat(data.breadcrumbs). This can be the breadcrumbs for that particular page irrespective of whether page is passed or not.
Acceptance Criteria
Please write tests in the corresponding test file.
Please make sure the documentation is updated here.
Breadcrumbs are tested with structured data testing tool
The text was updated successfully, but these errors were encountered:
Problem
Any publisher using quintype-node-seo should be able to construct custom breadcrumbs for a page. The breadcrumbs are restricted to
story-page
andsection-page
for now. Refer this.Proposal
We need to introduce another option which is passed from the
load-data
function of the publisher usingquintype-node-seo
.For example, If a publisher returns a new variable called
breadcrumbs
inload-data
:generateBreadcrumbListData
should be able to consume thebreadcrumb
key passed in thedata
parameter and it should return the breadcrumb list by doing something like thisbreadcrumbsDataList.concat(data.breadcrumbs)
. This can be the breadcrumbs for that particular page irrespective of whether page is passed or not.Acceptance Criteria
The text was updated successfully, but these errors were encountered: