Update github-pages-blog.md - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit ecb2aca6a2f75a703d64a88e30a8a11e2fe6eaac
(DIR) parent fb0facefa83466e5e47b59cedeedcdc8f23e757d
(HTM) Author: Saint Asky <loongmxbt@gmail.com>
Date: Thu, 5 Mar 2015 10:57:06 +0800
Update github-pages-blog.md
change `hugo serve` to `hugo server`
Diffstat:
M docs/content/tutorials/github-page⦠| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git 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 `<your-project>-hugo` repository (it will host Hugo's content)
2. Create on GitHub `<username>.github.io` repository (it will host the `public` folder: the static website)
2. `git clone <<your-project>-hugo-url> && cd <your-project>-hugo`
-3. Make your website work locally (`hugo serve --watch -t <yourtheme>`)
+3. Make your website work locally (`hugo server --watch -t <yourtheme>`)
4. Once you are happy with the results, <kbd>Ctrl</kbd>+<kbd>C</kbd> (kill server) and `rm -rf public` (don't worry, it can always be regenerated with `hugo -t <yourtheme>`)
5. `git submodule add git@github.com:<username>/<username>.github.io.git public`
6. Almost done: add a `deploy.sh` script to help you (and make it executable: `chmod +x deploy.sh`):