diff options
Diffstat (limited to 'man')
| -rw-r--r-- | man/blogc-template.7.ronn | 7 | ||||
| -rw-r--r-- | man/blogc.1.ronn | 4 | 
2 files changed, 7 insertions, 4 deletions
| diff --git a/man/blogc-template.7.ronn b/man/blogc-template.7.ronn index d788f41..280a073 100644 --- a/man/blogc-template.7.ronn +++ b/man/blogc-template.7.ronn @@ -39,7 +39,7 @@ This is how an `entry` block is defined:  ### listing block  The content of a `listing` block is included in the output file when blogc(1) -is called with `-l` option, and with one or more source files. It is used +is called with `-l` option, and with zero or more source files. It is used  to create a listing of entries, and its content will be included once for  each given source file (in the order that the source files were provided to  blogc(1)). All the variables defined in the source files are available @@ -57,11 +57,14 @@ This is how a `listing` block is defined:  ### listing_once block  The content of a `listing_once` block is included in the output file when -blogc(1) is called with `-l` option, and with one or more source files. It is +blogc(1) is called with `-l` option, and with zero or more source files. It is  like a `listing` block, but is only called once, and does not have access  to the local variables defined in the source files. It is useful to add  something before an entry listing. +The content of a `listing_once` block is included even if no source file is +provided. +  This is how a `listing_once` block is defined:      {% block listing_once %} diff --git a/man/blogc.1.ronn b/man/blogc.1.ronn index 082eeff..7ee617f 100644 --- a/man/blogc.1.ronn +++ b/man/blogc.1.ronn @@ -4,8 +4,8 @@ blogc(1) -- a blog compiler  ## SYNOPSIS  `blogc` [`-D` <KEY>=<VALUE> ...] `-t` <TEMPLATE> [`-o` <OUTPUT>] <SOURCE><br> -`blogc` `-l` [`-D` <KEY>=<VALUE> ...] `-t` <TEMPLATE> [`-o` <OUTPUT>] <SOURCE> [<SOURCE> ...]<br> -`blogc` `-l` `-p` <KEY> [`-D` <KEY>=<VALUE> ...] <SOURCE> [<SOURCE> ...]<br> +`blogc` `-l` [`-D` <KEY>=<VALUE> ...] `-t` <TEMPLATE> [`-o` <OUTPUT>] [<SOURCE> ...]<br> +`blogc` `-l` `-p` <KEY> [`-D` <KEY>=<VALUE> ...] [<SOURCE> ...]<br>  `blogc` [`-h`|`-v`]  ## DESCRIPTION | 
