Skip to content

Instantly share code, notes, and snippets.

@wang-zhijun
Last active June 30, 2018 17:25
Show Gist options
  • Save wang-zhijun/0e3abf69a06d83d16e488a65b9dee073 to your computer and use it in GitHub Desktop.
Save wang-zhijun/0e3abf69a06d83d16e488a65b9dee073 to your computer and use it in GitHub Desktop.
hugo
$ brew install hugo

$ hugo version
Hugo Static Site Generator v0.42.2 darwin/amd64

$ hugo new site mysite

$ cd mysite/

$ git init

$ git submodule add https://github.com/budparr/gohugo-theme-ananke.git themes/ananke

$ echo 'theme = "ananke"' >> config.toml

$ hugo new posts/install-golang.md
/Users/wang/work/github/mysite/content/posts/install-golang.md created

$ hugo server -D

http://localhost:1313/へアクセスする

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment