diff --git a/Makefile b/Makefile index 1f5e350..e94a095 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,9 @@ all: + make minify rsync -avr --delete --delete-excluded --exclude=_tmp/ --exclude=*.sh ./* unixpeople.org:/var/www/unixpeople.org/www/htdocs/ +minify: + find . -name "*.html" -exec minify --html-keep-document-tags --html-keep-end-tags -o {} {} \; + find . -name "*.css" -exec minify --css-precision 0 -o {} {} \; + find . -name "*.xml" -exec minify -o {} {} \; + diff --git a/index.html b/index.html index e754d06..b0da377 100644 --- a/index.html +++ b/index.html @@ -1,74 +1 @@ - - -unixpeople.org - - - - - - - - +unixpeople.org \ No newline at end of file