mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-24 13:10:18 +01:00
Remove js libraries
I'm not actually using anything that needs jQuery or Bootstrap's JS yet.
This commit is contained in:
parent
9d800f41c8
commit
8b7d70e3c0
@ -1,4 +0,0 @@
|
|||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<!-- jQuery first, then Bootstrap -->
|
|
||||||
<script src="{{ .Site.BaseURL }}js/jquery.min.js"></script>
|
|
||||||
<script src="{{ .Site.BaseURL }}js/bootstrap.min.js"></script>
|
|
@ -8,8 +8,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:css": "node-sass --output-style compressed source/scss/style.scss | cleancss > static/css/style.css",
|
"build:css": "node-sass --output-style compressed source/scss/style.scss | cleancss > static/css/style.css",
|
||||||
"build:js": "cp node_modules/bootstrap/dist/js/bootstrap.min.js node_modules/jquery/dist/jquery.min.js static/js",
|
"build": "npm run build:css"
|
||||||
"build": "npm run build:css & npm run build:js"
|
|
||||||
},
|
},
|
||||||
"keywords": "hugo",
|
"keywords": "hugo",
|
||||||
"author": "Alan Orth",
|
"author": "Alan Orth",
|
||||||
@ -19,7 +18,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bootstrap": "4.0.0-alpha.3",
|
"bootstrap": "4.0.0-alpha.3",
|
||||||
"jquery": "3.0.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"clean-css": "^3.4.19",
|
"clean-css": "^3.4.19",
|
||||||
|
7
static/js/bootstrap.min.js
vendored
7
static/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
4
static/js/jquery.min.js
vendored
4
static/js/jquery.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user