From: Saint Asky Date: Thu, 5 Mar 2015 02:57:06 +0000 (+0800) Subject: Update github-pages-blog.md X-Git-Tag: v0.14~235 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ecb2aca6a2f75a703d64a88e30a8a11e2fe6eaac;p=brevno-suite%2Fhugo Update github-pages-blog.md change `hugo serve` to `hugo server` --- diff --git a/docs/content/tutorials/github-pages-blog.md b/docs/content/tutorials/github-pages-blog.md index 69ae93ef..c3239922 100644 --- a/docs/content/tutorials/github-pages-blog.md +++ b/docs/content/tutorials/github-pages-blog.md @@ -251,7 +251,7 @@ Step by step: 1. Create on GitHub `-hugo` repository (it will host Hugo's content) 2. Create on GitHub `.github.io` repository (it will host the `public` folder: the static website) 2. `git clone <-hugo-url> && cd -hugo` -3. Make your website work locally (`hugo serve --watch -t `) +3. Make your website work locally (`hugo server --watch -t `) 4. Once you are happy with the results, Ctrl+C (kill server) and `rm -rf public` (don't worry, it can always be regenerated with `hugo -t `) 5. `git submodule add git@github.com:/.github.io.git public` 6. Almost done: add a `deploy.sh` script to help you (and make it executable: `chmod +x deploy.sh`):