Update build script for multiple possible Hugo installs

main
Elnu 2 years ago
parent 06a5e44c52
commit 529477bc01

@ -1,3 +1,3 @@
#!/bin/bash
git pull;
/home/linuxbrew/.linuxbrew/bin/hugo && find public -path "*.html" -type f -exec tidy --quiet yes --drop-empty-elements no --hide-comments yes -o {} {} \;
`which hugo` && find public -path "*.html" -type f -exec tidy --quiet yes --drop-empty-elements no --hide-comments yes -o {} {} \;

Loading…
Cancel
Save