From ecb2aca6a2f75a703d64a88e30a8a11e2fe6eaac Mon Sep 17 00:00:00 2001 From: Saint Asky Date: Thu, 5 Mar 2015 10:57:06 +0800 Subject: [PATCH] Update github-pages-blog.md change `hugo serve` to `hugo server` --- docs/content/tutorials/github-pages-blog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`): -- 2.30.2