From 544ced362819ae9bd2abd9c12480f76945b368aa Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 24 Apr 2026 11:15:04 -0400 Subject: format html --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1f2850c..b4f36a2 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,11 @@ -MODS = themes/aoidh static/resume +MODS = $(shell git submodule | awk '{print $$2}') -build: ${MODS} static/resume.png +build: fmt ${MODS} static/resume.png hugo build + find public -name '*.html' -exec tidy -mqi {} \; + +fmt: + gotmplfmt -w . publish: build rsync -rz --delete public/ samanthony.xyz:/var/www/htdocs/samanthony.xyz/ @@ -20,3 +24,5 @@ static/resume.png: static/resume.pdf ${MODS}: git submodule update --init --recursive + +.PHONY: build fmt publish serve clean -- cgit v1.2.3