diff --git a/packages/marko-web-theme-monorail/components/content/body-with-injection.marko b/packages/marko-web-theme-monorail/components/content/body-with-injection.marko index 37c55220c..30cebd60c 100644 --- a/packages/marko-web-theme-monorail/components/content/body-with-injection.marko +++ b/packages/marko-web-theme-monorail/components/content/body-with-injection.marko @@ -6,6 +6,7 @@ import GAMDefineDisplayAd from "@parameter1/base-cms-marko-web-theme-monorail/co $ const { global: $global } = out; $ const { GAM } = $global; $ const { content, modifiers } = input; +$ const htmlInjections = getAsArray(input, "htmlInjections"); $ const preventHTMLInjection = getAsArray(content, "labels").some( l => ["Sponsored", "Product Spotlight"].indexOf(l) >= 0) || input.preventHTMLInjection; $ const blockName = defaultValue(input.blockName, 'page-contents'); $ const aliases = getAsArray(input, 'aliases'); @@ -76,6 +77,17 @@ $ const gamAdInjection = (GAM) ? [ lazyload-first-image=input.lazyloadFirstImage /> + + + $ const { at, html } = htmlInjection; + + <@inject + at=at + html=html + /> + + + $ const { counts, name, modifiers } = adInjection;