docs: Correct toml syntax in Github deploy tutorial - 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 c7b8c45d126289c03372c2924b296774dd2aec58
(DIR) parent e52e2a70e5e0a2d15fc9befbcd7290761c98589e
(HTM) Author: Stanislav Popov <popstas@gmail.com>
Date: Sun, 5 Mar 2017 15:33:37 +0500
docs: Correct toml syntax in Github deploy tutorial
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
@@ -31,7 +31,7 @@ refer to the [GitHub Pages docs](https://help.github.com/articles/user-organizat
[As described](https://help.github.com/articles/configuring-a-publishing-source-for-github-pages/#publishing-your-github-pages-site-from-a-docs-folder-on-your-master-branch) in the GitHub Pages docs, you can deploy from a folder called _docs_ on your master branch.
This requires to change the Hugo publish directory in the site config (e.g. _config.toml_):
- publishDir: "docs"
+ publishDir = "docs"
After running `hugo`, push your master branch to the remote repo and choose the _docs_ folder as the website source of your repo
(in your GitHub project, go to "Settings " -> "GitHub Pages" -> "Source" -> Select "master branch /docs folder").