From 7e0c94b5c76cd134fe0d28ce99c6c901f4d54dd6 Mon Sep 17 00:00:00 2001 From: Anastasia Alexandrova Date: Tue, 27 Feb 2024 16:00:39 +0100 Subject: [PATCH] HD-22392 Added Osano cookie consent (#528) 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 be413bc35..840cfdbf9 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 @@ -#}