diff --git a/docs/assets/js/google-tag-support.js b/docs/assets/js/google-tag-support.js deleted file mode 100644 index bc7d48a..0000000 --- a/docs/assets/js/google-tag-support.js +++ /dev/null @@ -1,15 +0,0 @@ -// Support for DPE University follow ups -document.addEventListener("DOMContentLoaded", (event) => { - var links = document.getElementsByTagName("a"); - for (let i = 0; i < links.length; i++) { - var link = links[i] - if(link.getAttribute("href")?.startsWith("https://dpeuniversity.gradle.com/")) { - link.setAttribute("promo", "yes") - link.setAttribute("promo_offer", "DPEU") - link.setAttribute("promo_type", link.getElementsByTagName("a") ? "link" : "image") - if (!link.getAttribute("promo_location")) { - link.setAttribute("promo_location", "community-site") - } - } - } - }); 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 @@