{{# @name Consent gate @desc An extendable consent gate. @param aspect_ratio Aspect ratio class. Defaults to `aspect-video`. @param explainer_accept The text explaining that embeds will be accepted. Displayed when the consent banner is visible. Defaults to `trans:strings.consent_embeds_accept`. @param explainer_open The text explaining that the consent banner will be opened. Displayed when the consent banner is hidden. Defaults to `trans:strings.consent_embeds_open`. #}} {{ _consent_embeds = (environment == 'local' && seo:trackers_local && seo:embeds) or (environment == 'staging' && seo:trackers_staging && seo:embeds) or (environment == 'production' && seo:trackers_production && seo:embeds) }}
{{ if _consent_embeds }} {{ else }} {{ slot }} {{ /if }}
{{ slot:append }}