-
Notifications
You must be signed in to change notification settings - Fork 0
Hugo
daobee edited this page Sep 1, 2016
·
1 revision
- Git
- Go
export GOPATH=$HOME/go
- Download Hugo Releases
- Installing Hugo (binary)
or
go get -u -v github.com/spf13/hugo
hugo help
hugo new site /path/to/site
hugo new about.md //new page is at content/about.md
hugo new post/first.md //new page is at post/first.md
cd themes
git clone URL_TO_THEME
hugo --theme=urtheme --baseUrl="http://ur url/"
cd public
git init
git remote add origin https://ur git url
git add -A
git commit -m "first commit"
git push -u origin master