From 8ee207dc1034eeeb8f48c0c9ca58c6f29df95ae7 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Sat, 2 Mar 2024 12:00:00 +0200 Subject: Massive changes regarding the core templates, static and config backbone Soon will be abstracted into a Hermit V3 theme that focuses on: - speed - efficiency - modularity - SEO: - good WCAG & - pagespeed metrics - suckless Changes to be committed: modified: config.toml modified: content/posts/code_test.md modified: content/posts/How I made this Blog with Zola.md deleted: sass/_icons.scss modified: sass/_predefined.scss modified: sass/style.scss modified: static/js/main.js modified: templates/404.html modified: templates/index.html modified: templates/macros.html modified: templates/page.html modified: templates/section.html modified: templates/tags/list.html modified: templates/tags/single.html --- static/js/main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'static/js/main.js') diff --git a/static/js/main.js b/static/js/main.js index 012df35..18316e0 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -2,7 +2,7 @@ * Utils */ -// Throttle +// Throttle Helper const throttle = (callback, limit) => { let timeoutHandler = null; return () => { @@ -23,8 +23,6 @@ const listen = (selector, eventType, callback) => { } }; -// FUNCTIONS - // Auto Hide Header const header = document.getElementById('site-header'); let lastScrollPosition = window.scrollY; -- cgit v1.2.3