Organize scripts under subdirectories

This commit is contained in:
Bea 2021-01-03 11:38:55 +01:00
parent 1890876929
commit 3adf2fcde4
11 changed files with 9 additions and 9 deletions

View File

@ -9,12 +9,12 @@
{{!-- Scripts Begin --}} {{!-- Scripts Begin --}}
<script src="{{asset "js/jquery-3.5.1.js"}}"></script> <script src="{{asset "js/libs/jquery/jquery-3.5.1.js"}}"></script>
<script src="{{asset "js/policy-popup.js"}}"></script> <script src="{{asset "js/scripts/policy-popup.js"}}"></script>
<script src="{{asset "js/arrow-fade.js"}}" async></script> <script src="{{asset "js/scripts/arrow-fade.js"}}" async></script>
<script src="{{asset "js/scroll-navbar-color.js"}}"></script> <script src="{{asset "js/scripts/scroll-navbar-color.js"}}"></script>
{{#is "post"}} {{#is "post"}}
<script src="{{asset "js/get-headers-list.js"}}"></script> <script src="{{asset "js/scripts/get-headers-list.js"}}"></script>
{{/is}} {{/is}}
{{!-- TODO: REMOVE ON PRODUCTION! --}} {{!-- TODO: REMOVE ON PRODUCTION! --}}
@ -23,11 +23,11 @@
{{!-- Begin Page-specific code --}} {{!-- Begin Page-specific code --}}
{{#is "post"}} {{#is "post"}}
<script src="{{asset "js/remark42-comments.js"}}"></script> <script src="{{asset "js/libs/remark42/remark42-comments.js"}}"></script>
{{/is}} {{/is}}
{{#is "post, page"}} {{#is "post, page"}}
<script src="{{asset "js/prism.min.js"}}"></script> <script src="{{asset "js/libs/prismjs/prism.min.js"}}"></script>
<link rel="stylesheet" type="text/css" href="{{asset "css/prism-mind-theme.css"}}"/> <link rel="stylesheet" type="text/css" href="{{asset "css/prism-mind-theme.css"}}"/>
{{/is}} {{/is}}

View File

@ -1,8 +1,8 @@
<script> <script>
if (window.screen.width > 800) if (window.screen.width > 800)
{ {
document.write('<script src="{{asset "js/three.r95.min.js"}}"><\/script>' + document.write('<script src="{{asset "js/libs/vantajs/three.r95.min.js"}}"><\/script>' +
'<script src="{{asset "js/vanta.net.min.js"}}"><\/script>' + '<script src="{{asset "js/libs/vantajs/vanta.net.min.js"}}"><\/script>' +
'<script>' + '<script>' +
'VANTA.NET({' + 'VANTA.NET({' +
'el: "#vantajs",' + 'el: "#vantajs",' +