From 792ac4ec66dd098109a88065420ef95c1a78624f Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 27 Apr 2019 04:22:56 +0200 Subject: make: support posts autoloading --- man/blogcfile.5.ronn | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'man/blogcfile.5.ronn') 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 -- cgit v1.2.3-18-g5258