summaryrefslogtreecommitdiffstats
path: root/man/blogc-pagination.7.ronn
diff options
context:
space:
mode:
Diffstat (limited to 'man/blogc-pagination.7.ronn')
-rw-r--r--man/blogc-pagination.7.ronn22
1 files changed, 4 insertions, 18 deletions
diff --git a/man/blogc-pagination.7.ronn b/man/blogc-pagination.7.ronn
index ceb41d6..db40334 100644
--- a/man/blogc-pagination.7.ronn
+++ b/man/blogc-pagination.7.ronn
@@ -12,16 +12,14 @@ 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,
@@ -29,18 +27,6 @@ files passed as arguments to it:
variables. The pagination filters will only act on the files with the
provided tag, instead of filtering the whole file set.
- * `FILTER_REVERSE`:
- Boolean (1/y/yes/true/on), if set, blogc(1) will list files in reverse order.
- This filter is combined with `FILTER_SORT`, and all the other filters will
- get the files already in the reverse order.
-
- * `FILTER_SORT`:
- Boolean (1/y/yes/true/on), if set, blogc(1) will sort files using the `DATE`
- variable provided in the files, instead of respecting the order of the
- source files provided to blogc(1). The files are sorted in descending order
- and combined with `FILTER_REVERSE`, that will result in the files sorted in
- ascending order. All the other filters will get the files already sorted.
-
## TEMPLATE VARIABLES
blogc(1) will export some global blogc-template(7) variables, that can be used