diff --git a/_layouts/blog-post.html b/_layouts/blog-post.html index 609a97e..1932d23 100644 --- a/_layouts/blog-post.html +++ b/_layouts/blog-post.html @@ -38,7 +38,7 @@

{% if page.image %} -
+
@@ -93,3 +93,162 @@
+ + diff --git a/assets/scripts/default.js b/assets/scripts/default.js index 5d9a0cd..8270ec8 100644 --- a/assets/scripts/default.js +++ b/assets/scripts/default.js @@ -1,18 +1,3 @@ document.addEventListener("DOMContentLoaded", function () { }); - -document.querySelector('.switch').addEventListener('click', () => { - const elements = document.querySelectorAll('.mode-dark'); - elements.forEach(function (element) { - const classes = element.className.split(' '); - classes.forEach(function (className, index) { - if (className.includes('mode-light')) { - classes[index] = className.replace('mode-light', 'mode-dark'); - } else if (className.includes('mode-dark')) { - classes[index] = className.replace('mode-dark', 'mode-light'); - } - }); - element.className = classes.join(' '); - }); -}); diff --git a/index.html b/index.html index 3f725b5..8e5f5e8 100644 --- a/index.html +++ b/index.html @@ -114,7 +114,7 @@

Paginação

- -