summaryrefslogtreecommitdiff
path: root/docs/_templates/layout.html
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-07 17:19:41 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-07 18:23:25 +0300
commit4d8581c0e709848a601384addf3026fb405345fc (patch)
treedc34f359b4bbe79b26d77f7c092a9dbe872a2afe /docs/_templates/layout.html
parent52f78b43576615f686d161e91721c1a818685077 (diff)
downloadvyos-documentation-4d8581c0e709848a601384addf3026fb405345fc.tar.gz
vyos-documentation-4d8581c0e709848a601384addf3026fb405345fc.zip
feat(docs): read GTM_ID from environment instead of hardcoding
Move the Google Tag Manager container ID out of the template and into conf.py via os.environ.get('GTM_ID', ''), exposed to Jinja via html_context. Set GTM_ID in the RTD project environment variables. 🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'docs/_templates/layout.html')
-rw-r--r--docs/_templates/layout.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index 5116899f..cf25c15d 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -1,6 +1,5 @@
{% extends "!layout.html" %}
{%- set current_version = "1.5.x circinus" %}
-{%- set gtm_id = "GTM-T5VQHRT" %}
{% block extrahead %}
{# Cookiebot CMP — must load first so its auto-blocker can scan/block other tags #}
<script id="Cookiebot"