From 11079fb486c9313b459a764cc524716a219b6ca4 Mon Sep 17 00:00:00 2001 From: Rick Cogley Date: Mon, 8 Oct 2018 07:00:44 +0900 Subject: [PATCH] Add draft statement to FAQ Questions re "my content is invisible" are coming up a lot in the Discourse. Add a point about draft mode. --- content/en/troubleshooting/faq.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/en/troubleshooting/faq.md b/content/en/troubleshooting/faq.md index 392d7a8df..4cf248eac 100644 --- a/content/en/troubleshooting/faq.md +++ b/content/en/troubleshooting/faq.md @@ -17,6 +17,10 @@ aliases: [/faq/] **Note:** The answers/solutions presented below are short, and may not be note be enough to solve your problem. Visit [Hugo Discourse](https://discourse.gohugo.io/) and use the search. It that does not help, start a new topic and ask your questions. {{% /note %}} +## I can't see my content! + +Is your markdown file [in draft mode](https://gohugo.io/content-management/front-matter/#front-matter-variables)? When testing, run `hugo server` with the `-D` or `--buildDrafts` [switch](https://gohugo.io/getting-started/usage/#draft-future-and-expired-content). + ## Can I set configuration variables via OS environment? Yes you can! See [Configure with Environment Variables](/getting-started/configuration/#configure-with-environment-variables).