Rewrote the whole website to get rid on a heavy theme

This commit is contained in:
Julien Dessaux 2021-03-11 18:53:14 +01:00
parent 3ea54810ad
commit 60d3abc6ec
122 changed files with 346 additions and 2558 deletions

22
Makefile Normal file
View file

@ -0,0 +1,22 @@
.POSIX:
DESTDIR=public
.PHONY: build
build: ## make build # builds an optimized version of the website in $(DESTDIR)
@echo "? Generating site"
hugo --gc --minify --cleanDestinationDir -d $(DESTDIR)
.PHONY: clean
clean: ## make clean # removed all $(DESTDIR) contents
@echo "? Cleaning old build"
cd $(DESTDIR) && rm -rf *
.PHONY: serve
serve: ## make serve # hugo web server development mode
hugo serve
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
.DEFAULT_GOAL := help