diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-21 15:42:16 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-21 15:42:16 -0300 |
commit | fa016a15156bf8122b2d3dccaecca53f471d6ecb (patch) | |
tree | 12e8ec4c971455b7a1578fdb9c4eaf0e37f018c3 /src/renderer.h | |
parent | 8d8f508b859647461d1e9f13eeab647ceae54597 (diff) | |
download | blogc-fa016a15156bf8122b2d3dccaecca53f471d6ecb.tar.gz blogc-fa016a15156bf8122b2d3dccaecca53f471d6ecb.tar.bz2 blogc-fa016a15156bf8122b2d3dccaecca53f471d6ecb.zip |
refactored blocks
- changed block names:
- single_source -> entry
- multiple_sources -> listing
- multiple_sources_once -> listing_once
- added -t cli option, to build listing pages, instead of guess it from
the number of source files provided.
Diffstat (limited to 'src/renderer.h')
-rw-r--r-- | src/renderer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/renderer.h b/src/renderer.h index 9baf2eb..a6b7a2c 100644 --- a/src/renderer.h +++ b/src/renderer.h @@ -9,8 +9,9 @@ #ifndef _RENDERER_H #define _RENDERER_H +#include <stdbool.h> #include "utils/utils.h" -char* blogc_render(b_slist_t *tmpl, b_slist_t *sources); +char* blogc_render(b_slist_t *tmpl, b_slist_t *sources, bool listing); #endif /* _RENDERER_H */ |