Migrate from Wordpress to Hugo

This commit is contained in:
Señor Rolando 2023-08-15 20:40:11 +02:00
parent b9bcff3335
commit d8679db1eb
3043 changed files with 36803 additions and 3 deletions

17
Makefile Normal file
View file

@ -0,0 +1,17 @@
serve:
hugo server -D -E -F
# --minify: works on the final HTML output, not any (CSS, JS) assets
# see https://gohugo.io/hugo-pipes/bundling/ for the latter
# Note: as of mid 2021, '--minify' produces broken HTML. Disabled for now.
build: clean
hugo
# requires: source .env
deploy: build
rsync -axv --delete --ignore-errors --exclude .DS_Store --exclude .git public/ $(SR_DEPLOY_TARGET)
clean:
rm -rf public
.PHONY: serve clean