From d6a2c808883d8395dcb7bd2e634745dceb74f635 Mon Sep 17 00:00:00 2001 From: Makoto Emura Date: Wed, 27 Sep 2023 17:19:09 -0700 Subject: [PATCH] old code --- _static/scripts.js | 17 ----------------- _themes/piccolo_theme/layout.html | 9 --------- 2 files changed, 26 deletions(-) diff --git a/_static/scripts.js b/_static/scripts.js index fc78ac4ce..215b498f4 100644 --- a/_static/scripts.js +++ b/_static/scripts.js @@ -1,21 +1,4 @@ document.addEventListener("DOMContentLoaded", () => { - // Replace {{pro}} and {{profree}} tags - for (const element of document.querySelectorAll("pro")) { - element.textContent = "[P]"; - element.setAttribute("title", proTitle().trim()); - element.style.verticalAlign = "super"; - element.style.fontSize = "smaller"; - element.style.cursor = "help"; - } - - for (const element of document.querySelectorAll("profree")) { - element.textContent = "[PF]"; - element.setAttribute("title", proFreeTitle().trim()); - element.style.verticalAlign = "super"; - element.style.fontSize = "smaller"; - element.style.cursor = "help"; - } - // Scroll sidebar to current page // Last item in array is current item const itemElements = document.querySelectorAll("li.current"); diff --git a/_themes/piccolo_theme/layout.html b/_themes/piccolo_theme/layout.html index 29525f316..8b9d799d7 100644 --- a/_themes/piccolo_theme/layout.html +++ b/_themes/piccolo_theme/layout.html @@ -12,15 +12,6 @@ - - {% endblock %} {%- block body_tag %}