mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 16:17:21 +00:00
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.
This commit is contained in:
1 parent
069b9472f7
commit
11079fb486
1 file changed
+4
@@ -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:** 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 %}}
|
{{% /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?
|
## Can I set configuration variables via OS environment?
|
||||||
|
|
||||||
Yes you can! See [Configure with Environment Variables](/getting-started/configuration/#configure-with-environment-variables).
|
Yes you can! See [Configure with Environment Variables](/getting-started/configuration/#configure-with-environment-variables).
|
||||||
|
|||||||
Reference in new issue
Block a user