Add masonry.js
Signed-off-by: Nick Karaolidis <Nick.Karaolidis@sas.com>
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -13,5 +13,6 @@ hugo.linux
|
||||
# Temporary lock file while building
|
||||
/.hugo_build.lock
|
||||
|
||||
# Generated CSS files
|
||||
# Generated CSS/JS files
|
||||
**/*.min.css
|
||||
**/*.min.js
|
||||
|
5
.gitmodules
vendored
5
.gitmodules
vendored
@@ -1,11 +1,12 @@
|
||||
[submodule "static/font/RobotoMono"]
|
||||
path = static/font/RobotoMono
|
||||
url = https://github.com/googlefonts/RobotoMono.git
|
||||
|
||||
[submodule "static/css/animate.css"]
|
||||
path = static/css/animate.css
|
||||
url = https://github.com/animate-css/animate.css.git
|
||||
|
||||
[submodule "static/css/terminal.css"]
|
||||
path = static/css/terminal.css
|
||||
url = https://github.com/Gioni06/terminal.css.git
|
||||
[submodule "static/js/masonry"]
|
||||
path = static/js/masonry
|
||||
url = https://github.com/desandro/masonry.git
|
||||
|
8
Makefile
8
Makefile
@@ -1,17 +1,21 @@
|
||||
.PHONY: all css-animate css-terminal css clean-submodules clean
|
||||
|
||||
all: css clean
|
||||
all: css js clean
|
||||
|
||||
css: css-animate css-terminal
|
||||
|
||||
css-animate:
|
||||
cd static/css/animate.css && yarn install && yarn run prod
|
||||
cp static/css/animate.css/animate.min.css static/css/animate.min.css
|
||||
|
||||
css-terminal:
|
||||
cd static/css/terminal.css && npm run build
|
||||
cp static/css/terminal.css/dist/terminal.min.css static/css/terminal.min.css
|
||||
|
||||
js: js-masonry
|
||||
|
||||
js-masonry:
|
||||
cp static/js/masonry/dist/masonry.pkgd.min.js static/js/masonry.min.js
|
||||
|
||||
clean-submodules:
|
||||
git submodule foreach --recursive 'git reset --hard'
|
||||
|
||||
|
1
static/js/masonry
Submodule
1
static/js/masonry
Submodule
Submodule static/js/masonry added at 3b0883cf4a
Reference in New Issue
Block a user