From 20459c7d53a578bd50864fe980170656209cd8da Mon Sep 17 00:00:00 2001 From: Anastasia Alexandrova Date: Tue, 27 Feb 2024 15:42:03 +0100 Subject: [PATCH] HD-22392 Added Osano cookie consent (#526) modified: _resource/overrides/main.html modified: _resource/overrides/partials/copyright.html new file: docs/css/osano.css new file: docs/js/consent.js modified: mkdocs-base.yml modified: mkdocs-pdf.yml --- _resource/overrides/main.html | 5 + _resource/overrides/partials/copyright.html | 2 +- docs/css/osano.css | 206 ++++++++++++++++++++ docs/js/consent.js | 6 + mkdocs-base.yml | 11 +- mkdocs-pdf.yml | 2 + 6 files changed, 223 insertions(+), 9 deletions(-) create mode 100644 docs/css/osano.css create mode 100644 docs/js/consent.js diff --git a/_resource/overrides/main.html b/_resource/overrides/main.html index 443a0f3e0..d21bc23e0 100644 --- a/_resource/overrides/main.html +++ b/_resource/overrides/main.html @@ -20,6 +20,11 @@

Contact Us

{%- endmacro %} +{% block scripts %} + +{{ super() }} +{% endblock %} + {% block extrahead %} {{ super() }} {% set title = config.site_name %} diff --git a/_resource/overrides/partials/copyright.html b/_resource/overrides/partials/copyright.html index 4dc9e364a..dd0f101fa 100644 --- a/_resource/overrides/partials/copyright.html +++ b/_resource/overrides/partials/copyright.html @@ -3,7 +3,7 @@ -#}