aboutsummaryrefslogtreecommitdiffstats
path: root/man/blogc-pagination.7.ronn
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-20 19:03:17 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-20 19:11:55 +0100
commit93fc79a5b2826bcddd617e5180d5513dc3cdc67c (patch)
tree482a6c030e1721ef27cf2bb1c6a9fb8df890b4dd /man/blogc-pagination.7.ronn
parent3785fc5ea7f47849ae11764b5cca5c220bc3866d (diff)
downloadblogc-93fc79a5b2826bcddd617e5180d5513dc3cdc67c.tar.gz
blogc-93fc79a5b2826bcddd617e5180d5513dc3cdc67c.tar.bz2
blogc-93fc79a5b2826bcddd617e5180d5513dc3cdc67c.zip
blogc: loader: respect FILTER_PER_PAGE=0
Diffstat (limited to 'man/blogc-pagination.7.ronn')
-rw-r--r--man/blogc-pagination.7.ronn10
1 files changed, 6 insertions, 4 deletions
diff --git a/man/blogc-pagination.7.ronn b/man/blogc-pagination.7.ronn
index 80bdb16..4b3b4b6 100644
--- a/man/blogc-pagination.7.ronn
+++ b/man/blogc-pagination.7.ronn
@@ -12,14 +12,16 @@ blogc(1) in the command line, no sorting is done.
blogc(1) accepts some variables as `-D` options, that are used to filter the
files passed as arguments to it:
- * `FILTER_PER_PAGE`:
- Integer, limits the maximum number of files to be listed.
-
* `FILTER_PAGE`:
Integer, current page. If calling blogc(1) with 10 files,
- `FILTER_PER_PAGE`=4 and `FILTER_PAGE`=3, it will return just the 2 last
+ `FILTER_PER_PAGE=4` and `FILTER_PAGE=3`, it will return just the 2 last
files, skipping the first 2 pages with 4 files each one.
+ * `FILTER_PER_PAGE`:
+ Integer, limits the maximum number of files to be listed. If negative or
+ `0`, no posts are included. Have no effect if `FILTER_PAGE` is not
+ defined.
+
* `FILTER_TAG`:
String, if defined, blogc(1) will only list files that declare a `TAGS`
variable, as a space-separated list of tags (tags can't have spaces,