From b3b2e845337c0df900235bf573566855562fe055 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Tue, 18 Nov 2014 13:37:27 +0000 Subject: [PATCH] Added documentation for default draft-status of articles --- docs/content.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/content.rst b/docs/content.rst index fa65ac5d..4de480ba 100644 --- a/docs/content.rst +++ b/docs/content.rst @@ -498,6 +498,13 @@ publishing, for example), you can add a ``Status: draft`` attribute to its metadata. That article will then be output to the ``drafts`` folder and not listed on the index page nor on any category or tag page. +If your articles should be automatically published as a draft (to not accidentally +publish an article before it is finished) include the status in the ``DEFAULT_METADATA``:: + + DEFAULT_METADATA = { + 'status': 'draft', + } + .. _W3C ISO 8601: http://www.w3.org/TR/NOTE-datetime .. _AsciiDoc: http://www.methods.co.nz/asciidoc/ .. _pelican-plugins: http://github.com/getpelican/pelican-plugins