From 9c37b4ccb4c2da7dcdb5b00f1602606d2b27f361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20C=C3=A1mara?= Date: Thu, 31 Aug 2017 20:05:33 +0200 Subject: [PATCH] Change config's syntax order matching description --- content/hosting-and-deployment/hosting-on-github.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/content/hosting-and-deployment/hosting-on-github.md b/content/hosting-and-deployment/hosting-on-github.md index 237046ac9..59433a9e7 100644 --- a/content/hosting-and-deployment/hosting-on-github.md +++ b/content/hosting-and-deployment/hosting-on-github.md @@ -37,13 +37,12 @@ Make sure your `baseURL` key-value in your [site configuration](/getting-started [As described in the GitHub Pages documentation][ghpfromdocs], you can deploy from a folder called `docs/` on your master branch. To effectively use this feature with Hugo, you need to change the Hugo publish directory in your [site's][config] `config.toml` and `config.yaml`, respectively: -``` -publishDir: docs -``` - ``` publishDir = "docs" ``` +``` +publishDir: docs +``` After running `hugo`, push your master branch to the remote repository and choose the `docs/` folder as the website source of your repo. Do the following from within your GitHub project: