From 3adf2fcde4c84e1ff8f4733ab0633d0f385a813b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenzo=20Dellac=C3=A0?= Date: Sun, 3 Jan 2021 11:38:55 +0100 Subject: [PATCH] Organize scripts under subdirectories --- assets/js/{ => libs/jquery}/jquery-3.5.1.js | 0 assets/js/{ => libs/prismjs}/prism.min.js | 0 assets/js/{ => libs/remark42}/remark42-comments.js | 0 assets/js/{ => libs/vantajs}/three.r95.min.js | 0 assets/js/{ => libs/vantajs}/vanta.net.min.js | 0 assets/js/{ => scripts}/arrow-fade.js | 0 assets/js/{ => scripts}/get-headers-list.js | 0 assets/js/{ => scripts}/policy-popup.js | 0 assets/js/{ => scripts}/scroll-navbar-color.js | 0 default.hbs | 14 +++++++------- partials/vanta-js.hbs | 4 ++-- 11 files changed, 9 insertions(+), 9 deletions(-) rename assets/js/{ => libs/jquery}/jquery-3.5.1.js (100%) rename assets/js/{ => libs/prismjs}/prism.min.js (100%) rename assets/js/{ => libs/remark42}/remark42-comments.js (100%) rename assets/js/{ => libs/vantajs}/three.r95.min.js (100%) rename assets/js/{ => libs/vantajs}/vanta.net.min.js (100%) rename assets/js/{ => scripts}/arrow-fade.js (100%) rename assets/js/{ => scripts}/get-headers-list.js (100%) rename assets/js/{ => scripts}/policy-popup.js (100%) rename assets/js/{ => scripts}/scroll-navbar-color.js (100%) diff --git a/assets/js/jquery-3.5.1.js b/assets/js/libs/jquery/jquery-3.5.1.js similarity index 100% rename from assets/js/jquery-3.5.1.js rename to assets/js/libs/jquery/jquery-3.5.1.js diff --git a/assets/js/prism.min.js b/assets/js/libs/prismjs/prism.min.js similarity index 100% rename from assets/js/prism.min.js rename to assets/js/libs/prismjs/prism.min.js diff --git a/assets/js/remark42-comments.js b/assets/js/libs/remark42/remark42-comments.js similarity index 100% rename from assets/js/remark42-comments.js rename to assets/js/libs/remark42/remark42-comments.js diff --git a/assets/js/three.r95.min.js b/assets/js/libs/vantajs/three.r95.min.js similarity index 100% rename from assets/js/three.r95.min.js rename to assets/js/libs/vantajs/three.r95.min.js diff --git a/assets/js/vanta.net.min.js b/assets/js/libs/vantajs/vanta.net.min.js similarity index 100% rename from assets/js/vanta.net.min.js rename to assets/js/libs/vantajs/vanta.net.min.js diff --git a/assets/js/arrow-fade.js b/assets/js/scripts/arrow-fade.js similarity index 100% rename from assets/js/arrow-fade.js rename to assets/js/scripts/arrow-fade.js diff --git a/assets/js/get-headers-list.js b/assets/js/scripts/get-headers-list.js similarity index 100% rename from assets/js/get-headers-list.js rename to assets/js/scripts/get-headers-list.js diff --git a/assets/js/policy-popup.js b/assets/js/scripts/policy-popup.js similarity index 100% rename from assets/js/policy-popup.js rename to assets/js/scripts/policy-popup.js diff --git a/assets/js/scroll-navbar-color.js b/assets/js/scripts/scroll-navbar-color.js similarity index 100% rename from assets/js/scroll-navbar-color.js rename to assets/js/scripts/scroll-navbar-color.js diff --git a/default.hbs b/default.hbs index 5a6be71..b4b1ca8 100755 --- a/default.hbs +++ b/default.hbs @@ -9,12 +9,12 @@ {{!-- Scripts Begin --}} - - - - + + + + {{#is "post"}} - + {{/is}} {{!-- TODO: REMOVE ON PRODUCTION! --}} @@ -23,11 +23,11 @@ {{!-- Begin Page-specific code --}} {{#is "post"}} - + {{/is}} {{#is "post, page"}} - + {{/is}} diff --git a/partials/vanta-js.hbs b/partials/vanta-js.hbs index 36d9c6d..1190a05 100644 --- a/partials/vanta-js.hbs +++ b/partials/vanta-js.hbs @@ -1,8 +1,8 @@