Want to contribute? Fork me on Codeberg.org!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
233 B

#!/bin/bash
git pull &> /dev/null;
hugo &> /dev/null || /home/linuxbrew/.linuxbrew/bin/hugo &> /dev/null
find public -path "*.html" -type f -exec tidy --quiet yes --drop-empty-elements no --hide-comments yes -o {} {} \ &> /dev/null;