Back to Schema Markup Support

Linkonoid
Linkonoid

Hello,

You need to set each template in a separate template description (test https://testv2.linkonoid.com/schema-markup):

_type: "Offer"
price: "300.99"
priceCurrency: "USD"
_type: "AggregateRating"
ratingValue: "4.5"
ratingCount: "100"
_type: SoftwareApplication
name: My software
operatingSystem: Linux
applicationCategory: FinanceApplication
offers: '&Offer'
aggregateRatings: '&AggregateRating'

This was done not by accident, but for the purpose of further reuse of template blocks. Be sure to pay attention to the "& TemplateName" - the special character & is used, so be sure to in quotes. In case "aggregateRating(!): '&AggregateRating'", if a variable matches a template name, rendering will occur without creating an object:

"offers":{"price":"300.99","priceCurrency":"USD"},"ratingValue":"4.5","ratingCount":"100"

Schemes can also be created manually in the "/schemas" folder of the plugin (or by the specified path in the plugin settings) with the obligatory installation of the "TemplateName.yaml" file extension, this template should be auto added to the list of templates in the settings.

Last updated

Linkonoid
Linkonoid

Plugin update to v 1.0.5 Demo

Last updated

1-7 of 7