This commit is contained in:
parent
728e48fc4f
commit
cc02023625
10 changed files with 341 additions and 39 deletions
|
|
@ -108,6 +108,13 @@ export struct PageMeta {
|
|||
// prices are always in the markup, the HTML is identical for every
|
||||
// visitor, and nothing is detected server-side.
|
||||
bool geoPriceHint = false;
|
||||
// schema.org JSON-LD for this page, already serialized. Emitted verbatim
|
||||
// inside <script type="application/ld+json"> — inert data, not code, so
|
||||
// it does not count against the shop pages' one-executable-script rule.
|
||||
// Set by RenderHome (Organization: who Catcrafts is, versus the two
|
||||
// name-twins) and RenderProduct (Product: what is sold, at which prices —
|
||||
// the same integers the checkout charges).
|
||||
std::string jsonLd;
|
||||
};
|
||||
|
||||
export struct Spec {
|
||||
|
|
|
|||
Loading…
Reference in a new issue