mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add support for hidden articles
This commit is contained in:
parent
487da3550b
commit
add3628a64
8 changed files with 70 additions and 14 deletions
|
|
@ -614,6 +614,14 @@ the ``DEFAULT_METADATA``::
|
|||
To publish a post when the default status is ``draft``, update the post's
|
||||
metadata to include ``Status: published``.
|
||||
|
||||
Hidden Posts
|
||||
============
|
||||
|
||||
Like pages, posts can also be marked as ``hidden`` with the ``Status: hidden``
|
||||
attribute. Hidden posts will be output to ``ARTICLE_SAVE_AS`` as expected, but
|
||||
are not included by default in tag or category indexes, nor in the main
|
||||
article feed. This has the effect of creating an "unlisted" post.
|
||||
|
||||
.. _W3C ISO 8601: https://www.w3.org/TR/NOTE-datetime
|
||||
.. _AsciiDoc: https://www.methods.co.nz/asciidoc/
|
||||
.. _pelican-plugins: https://github.com/getpelican/pelican-plugins
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue