diff --git a/helix-query.yaml b/helix-query.yaml index a646ea0d3..9c466e2f4 100644 --- a/helix-query.yaml +++ b/helix-query.yaml @@ -53,8 +53,8 @@ indices: image: select: head > meta[property="og:image"] value: match(attribute(el, "content"), "^(https?:\/\/.*?(danaher.com))+(.*)|^(.*)") - opco: - select: head > meta[name="opco"] + brand: + select: head > meta[name="brand"] value: attribute(el, "content") type: select: head > meta[name="template"] diff --git a/tools/actions/convert/test/fixtures/product-category2-converted.html b/tools/actions/convert/test/fixtures/product-category2-converted.html index d086669ac..672676c4b 100644 --- a/tools/actions/convert/test/fixtures/product-category2-converted.html +++ b/tools/actions/convert/test/fixtures/product-category2-converted.html @@ -128,7 +128,7 @@

Need help designing your solution?

danaher:opco/beckman-coulter
-
OpCo
+
brand
Beckman Coulter
diff --git a/tools/importer/transformers/metadata.js b/tools/importer/transformers/metadata.js index 7a159a3c7..8b964f125 100644 --- a/tools/importer/transformers/metadata.js +++ b/tools/importer/transformers/metadata.js @@ -98,7 +98,7 @@ const createMetadata = (main, document, html, params, urlStr) => { const opco = document.querySelector('[name="opco"]'); if (opco && opco.content) { - meta.OpCo = opco.content; + meta.brand = opco.content; } const desc = document.querySelector('[property="og:description"]');