aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/methods/page/Draft.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/methods/page/Draft.md')
-rw-r--r--docs/content/en/methods/page/Draft.md21
1 files changed, 0 insertions, 21 deletions
diff --git a/docs/content/en/methods/page/Draft.md b/docs/content/en/methods/page/Draft.md
deleted file mode 100644
index fd55a9bc9..000000000
--- a/docs/content/en/methods/page/Draft.md
+++ /dev/null
@@ -1,21 +0,0 @@
----
-title: Draft
-description: Reports whether the given page is a draft as defined in front matter.
-categories: []
-keywords: []
-action:
- related: []
- returnType: bool
- signatures: [PAGE.Draft]
----
-
-By default, Hugo does not publish draft pages when you build your site. To include draft pages when you build your site, use the `--buildDrafts` command line flag.
-
-{{< code-toggle file=content/posts/post-1.md fm=true >}}
-title = 'Post 1'
-draft = true
-{{< /code-toggle >}}
-
-```go-html-template
-{{ .Draft }} → true
-```