Skip to content

Commit

Permalink
post-list: discourage using 'all'
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 27, 2016
1 parent f551490 commit fc2e611
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/manual.txt
Expand Up @@ -2080,8 +2080,8 @@ The following options are recognized:
Replaces ``all``. Defaults to ``posts``.

* ``all`` : flag
Shows all posts and pages in the post list.
Defaults to show only posts.
(deprecated, use ``post_type`` instead)
Shows all posts and pages in the post list. Defaults to show only posts.

* ``lang`` : string
The language of post *titles* and *links*.
Expand Down
4 changes: 2 additions & 2 deletions nikola/plugins/compile/rest/post_list.py
Expand Up @@ -121,8 +121,8 @@ class PostList(Directive):
Replaces ``all``. Defaults to ``posts``.
``all`` : flag
Shows all posts and pages in the post list.
Defaults to show only posts.
(deprecated, use ``post_type`` instead)
Shows all posts and pages in the post list. Defaults to show only posts.
``lang`` : string
The language of post *titles* and *links*.
Expand Down

0 comments on commit fc2e611

Please sign in to comment.