diff options
author | Jean-Christophe <jice@lavocat.name> | 2017-09-27 17:39:42 +0300 |
---|---|---|
committer | Mathieu Cornic <mathieu.cornic@gmail.com> | 2017-09-27 17:39:42 +0300 |
commit | 209497b45e07db0ef25cedcffcf18f4ccb0dec94 (patch) | |
tree | 26642da7d5d75d99a810d01b3e1490716fe2adb0 /exampleSite | |
parent | 0d9c29be674920d36c4015fbeaed871535a0a5e5 (diff) |
Added info about 'draft:true' (#74)
Not sure it's the best place to go in the documentation, but I thought this might prevent new Hugo user to wonder why no content was listed.
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/content/basics/installation/_index.en.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/exampleSite/content/basics/installation/_index.en.md b/exampleSite/content/basics/installation/_index.en.md index 2c730ee..995f0a6 100644 --- a/exampleSite/content/basics/installation/_index.en.md +++ b/exampleSite/content/basics/installation/_index.en.md @@ -58,6 +58,8 @@ hugo new --kind chapter basics/_index.md By opening the given file, you should see the property `chapter=true` on top, meaning this page is a _chapter_. +By default all chapters and pages are created as draft. If you want to render these pages, remove the property `draft: true` from the metadata. + ## Create your first content pages Then, create content pages inside the previous chapter. Here are two ways to create content in the chapter : @@ -97,4 +99,4 @@ A `public` folder has been generated, containing all statics content and assets {{% notice note %}} This website can be automatically published and hosted with [Netlify](https://www.netlify.com/) (Read more about [Automated HUGO deployments with Netlify](https://www.netlify.com/blog/2015/07/30/hosting-hugo-on-netlifyinsanely-fast-deploys/)). Alternatively, you can use [Github pages](https://gohugo.io/hosting-and-deployment/hosting-on-github/) -{{% /notice %}}
\ No newline at end of file +{{% /notice %}} |