From 53eda167df8f0f983ee34fd33e90524dcecb08de Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Thu, 7 May 2026 17:53:34 +0300 Subject: feat(docs): move Cookiebot CBID to COOKIEBOT_ID env var MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Read COOKIEBOT_ID from the environment via conf.py html_context, replacing the hardcoded data-cbid value in layout.html. Guards tightened to {% if gtm_id and cookiebot_id %} so neither GTM nor Cookiebot loads unless both IDs are present. 🤖 Generated by [robots](https://vyos.io) --- docs/_templates/layout.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/_templates/layout.html') diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 2521026b..464e73f8 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -1,11 +1,11 @@ {% extends "!layout.html" %} {%- set current_version = "1.5.x circinus" %} {% block extrahead %} - {% if gtm_id %} + {% if gtm_id and cookiebot_id %} {# Cookiebot CMP — must load first so its auto-blocker can scan/block other tags #} @@ -64,7 +64,7 @@ {% endblock %} {% block body %} - {% if gtm_id %} + {% if gtm_id and cookiebot_id %} -- cgit v1.2.3