aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 90e374c..a2c63ed 100644
--- a/src/main.c
+++ b/src/main.c
@@ -18,6 +18,7 @@
#include "source-parser.h"
#include "template-parser.h"
#include "loader.h"
+#include "renderer.h"
#include "error.h"
@@ -102,7 +103,9 @@ main(int argc, char **argv)
goto cleanup3;
}
- printf("%d\n", s == NULL);
+ char *out = blogc_render(l, s);
+ printf("%s", out);
+ free(out);
cleanup3:
b_slist_free_full(s, blogc_source_free);