aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-20 23:00:17 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-20 23:00:17 +0100
commit14b3aea798c0999f56a5555d90db3c332966d085 (patch)
tree3e012ddd9083bb6b22b7d7132790584eed0454cd /man
parent4c9ae70d3f7b99635f68796c8fca072a1baaf009 (diff)
downloadblogc-14b3aea798c0999f56a5555d90db3c332966d085.tar.gz
blogc-14b3aea798c0999f56a5555d90db3c332966d085.tar.bz2
blogc-14b3aea798c0999f56a5555d90db3c332966d085.zip
make: allow to disable pagination by setting posts_per_page<0
Diffstat (limited to 'man')
-rw-r--r--man/blogc-make.1.ronn4
-rw-r--r--man/blogcfile.5.ronn7
2 files changed, 7 insertions, 4 deletions
diff --git a/man/blogc-make.1.ronn b/man/blogc-make.1.ronn
index ca9c4da..2d51992 100644
--- a/man/blogc-make.1.ronn
+++ b/man/blogc-make.1.ronn
@@ -89,8 +89,8 @@ The rule passes the following helper variables to blogc(1):
### pagination
-Build pagination pages from posts. This rule will be disabled if
-`posts_per_page` is negative or `0` in blogcfile(5).
+Build pagination pages from posts. This rule is disabled if `posts_per_page`
+value in blogcfile(5) is negative or `0`.
The rule passes the following helper variables to blogc(1):
diff --git a/man/blogcfile.5.ronn b/man/blogcfile.5.ronn
index fb2d623..2836bad 100644
--- a/man/blogcfile.5.ronn
+++ b/man/blogcfile.5.ronn
@@ -49,7 +49,8 @@ however these rules can be customized with the following settings, from the
section.
* `atom_posts_per_page` (default: `10`):
- Number of posts per page in the Atom feeds.
+ Number of posts per page in the Atom feeds. If negative, all the posts are
+ included. If `0`, no posts are include.
* `atom_prefix` (default: `atom`):
The prefix of the generated Atom feeds. It is relative to the output
@@ -98,7 +99,9 @@ however these rules can be customized with the following settings, from the
directories, and is relative to `content_dir` and the output directory.
* `posts_per_page` (default: `10`):
- Number of posts per page in the pagination pages.
+ Number of posts per page in the pagination pages. If negative, all the posts
+ are included. If `0`, no posts are included. Also, if negative or `0`, the
+ `pagination` build rule is disabled.
* `source_ext` (default: `.txt`):
The extension of the source files.