From 1487fc2f29d7b196e86a8aedfb6297edec9fe84c Mon Sep 17 00:00:00 2001 From: Oleg Nenashev Date: Tue, 7 Jan 2025 09:27:53 +0000 Subject: [PATCH 1/2] Enable cookie consent for the site --- mkdocs.yml | 2 -- overrides/books.html | 6 ++---- overrides/main.html | 10 ++++++---- overrides/partials/integrations/analytics/custom.html | 10 ++++------ overrides/resources.html | 4 +--- 5 files changed, 13 insertions(+), 19 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 8a59d07..eb5966c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -81,8 +81,6 @@ theme: extra_css: - assets/css/gradle.css -extra_javascript: - - assets/js/google-tag-support.js extra: social: diff --git a/overrides/books.html b/overrides/books.html index 1a552e4..5dafea9 100644 --- a/overrides/books.html +++ b/overrides/books.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "main.html" %} {% block content %} {{ super() }} @@ -24,6 +24,4 @@
{% endfor %} - - -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/overrides/main.html b/overrides/main.html index 83755f9..73fd789 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -7,9 +7,11 @@ {% block scripts %} {{ super() }} +{% endblock %} + +{% block footer %} + + - - - + {{ super() }} {% endblock %} diff --git a/overrides/partials/integrations/analytics/custom.html b/overrides/partials/integrations/analytics/custom.html index 79b3311..76aecff 100644 --- a/overrides/partials/integrations/analytics/custom.html +++ b/overrides/partials/integrations/analytics/custom.html @@ -1,8 +1,6 @@ - + +