Closed arumsey closed 1 year ago
Hi, just want to clarify do I understand correct. You mean that firstly (with higher priority) we should take content from the related-resources block, as an example here: "Focused innovation will deliver steady progress in health and social care" has header "Block" but in document its declated as "ARTICLE" (and same for description title, link title)
Is that what you mean?
@VladimirZaets Correct! Any content authored in the block (eyebrow, title, description, lint title) should have a higher priority than what comes from the index. Any of the index values should be used when an authored value is not available. This behaviour should be the same in related-resources
and teaser-list
.
Blocks such as
teaser-list
andrelated-resources
will noyl use overrieds for title, description and link title when the linked document has not been indexed. This logic needs to be flipped so that authored overrides for title,description and link title are used first if they exist and indexed values are only used as a fallback.