aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2019-04-27 04:22:56 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2019-04-28 22:09:39 +0200
commit792ac4ec66dd098109a88065420ef95c1a78624f (patch)
tree4cf068a60006b7691ca1e01ba4f110725e72631d /man
parent2793a94367e7b163ff3738619a2a764f1c6645b7 (diff)
downloadblogc-792ac4ec66dd098109a88065420ef95c1a78624f.tar.gz
blogc-792ac4ec66dd098109a88065420ef95c1a78624f.tar.bz2
blogc-792ac4ec66dd098109a88065420ef95c1a78624f.zip
make: support posts autoloading
Diffstat (limited to 'man')
-rw-r--r--man/blogcfile.5.ronn9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/blogcfile.5.ronn b/man/blogcfile.5.ronn
index fd77e1c..b63bcf7 100644
--- a/man/blogcfile.5.ronn
+++ b/man/blogcfile.5.ronn
@@ -110,6 +110,12 @@ however these rules can be customized with the following settings, from the
The prefix of the posts file names. It is used for both content and output
directories, and is relative to `content_dir` and the output directory.
+ * `posts_autoload` (default: `false`):
+ If true, blogc-make(1) will guess the source files from the posts directory
+ (`content_dir`/`post_prefix`) and ignore anything listed in `[posts]` section.
+ This setting automatically enable `posts_sort`, as there's no manually-provided
+ order of posts to follow.
+
* `posts_per_page` (default: `10`):
Number of posts per page in the pagination pages. If negative, all the posts
are included. If `0`, no post listing pages are generated. Also, if negative or
@@ -141,6 +147,9 @@ is `foo`.
All the posts are relative to the `post_prefix` in the root of the website.
+This section can be omitted if using the `posts_autoload` setting, as it will
+guess the posts from the directory.
+
### Pages listing
The `[pages]` section is a listing of the pages that will be included in the