Skip to content

zeromake/zeromake.github.io

Repository files navigation

zeromake-blog

my hugo static blog

my hugo fork download

MacOSX

curl -fLo hugo.tar.gz https://github.com/zeromake/hugo/releases/download/v0.128.2/hugo_extended_0.128.2_darwin-universal.tar.gz
tar -xf hugo.tar.gz
rm hugo.tar.gz

Linux

curl -fLo hugo.tar.gz https://github.com/zeromake/hugo/releases/download/v0.128.2/hugo_extended_0.128.2_linux-amd64.tar.gz
tar -xf hugo.tar.gz
rm hugo.tar.gz

Windows

Invoke-WebRequest -Uri https://github.com/zeromake/hugo/releases/download/v0.128.2/hugo_extended_0.128.2_windows-amd64.zip -OutFile hugo.zip
Expand-Archive -Path hugo.zip -DestinationPath .
Remove-Item hugo.zip

dev server

./hugo server -D

build static files

./hugo --enableGitInfo --gc --minify