diff --git a/homepage/cwsvJudo/Makefile.heliohost b/homepage/cwsvJudo/Makefile.heliohost index 7509e70..7355ce6 100644 --- a/homepage/cwsvJudo/Makefile.heliohost +++ b/homepage/cwsvJudo/Makefile.heliohost @@ -7,6 +7,9 @@ mdFiles = $(wildcard src/md/*.md) phpFiles = $(patsubst src/md/%.md, build/materialize/%.php, $(mdFiles)) ampFiles = $(patsubst src/md/%.md, build/amp/%.php, $(mdFiles)) phpLibFiles = $(wildcard phpLib/cwsvJudo/*.php) phpLib/phpcount/phpcount.php +wallpapersSrc = $(wildcard graphiken/wallpapers/*.*) +wallpapers = $(patsubst graphiken/wallpapers/%, build/graphiken/wallpapers/%, $(wallpapersSrc)) + configFiles = $(wildcard config/*.php) LN = ln -f @@ -17,9 +20,17 @@ all: build/css/cwsvJudo.css pages images make -j graphiken make build/css/cwsvJudo.css +# minimizing wallpaper sizes +build/graphiken/wallpapers/%.jpg: graphiken/wallpapers/%.jpg + guetzli $^ $@ +build/graphiken/wallpapers/%.svg: graphiken/wallpapers/%.svg + cp $^ $@ + .PHONY: images -images: - cp -r graphiken/wallpapers build/graphiken +images: $(wallpapers) + echo $(wallpapersSrc) + echo $(wallpapers) + .PHONY: clean clean: diff --git a/homepage/cwsvJudo/Makefile.heliohost.config b/homepage/cwsvJudo/Makefile.heliohost.config index 509c02b..28f9826 100644 --- a/homepage/cwsvJudo/Makefile.heliohost.config +++ b/homepage/cwsvJudo/Makefile.heliohost.config @@ -1,5 +1,9 @@ # Config settings + +# which pandoc template to use +pandocTemplate = pandocTemplate/materialize-parallax.pandocTemplate + # versions (git branches) to use VERSION_MATERIALIZE = v2.1.1 # version of google material icons to use @@ -7,9 +11,6 @@ VERSION_GOOGLE_MATERIAL_ICONS = 4.0.0 # where to put the distribution distDir = ./build/dist/heliohost -# which pandoc template to use -pandocTemplate = pandocTemplate/materialize-parallax.html - # css optimizer to use CSSO = node_modules/csso-cli/bin/csso diff --git a/homepage/cwsvJudo/pandocTemplate/materialize-parallax.html b/homepage/cwsvJudo/pandocTemplate/materialize-parallax.html deleted file mode 100644 index 391765a..0000000 --- a/homepage/cwsvJudo/pandocTemplate/materialize-parallax.html +++ /dev/null @@ -1,50 +0,0 @@ - - - -
- - - - - - - - - -


+
+ 
