aboutsummaryrefslogtreecommitdiff
path: root/src/hyde.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hyde.c')
-rw-r--r--src/hyde.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hyde.c b/src/hyde.c
index 172f15d..bab2513 100644
--- a/src/hyde.c
+++ b/src/hyde.c
@@ -1,4 +1,5 @@
#include "template.h"
+#include <stdio.h>
#include <stdlib.h>
int main() {
@@ -21,7 +22,9 @@ int main() {
};
hashmap_insert(ctx, "posts", &posts);
- template(input, ctx);
+ char *output = template(input, ctx);
+ printf("Output: %s\n", output);
hashmap_free(ctx);
free(input);
+ free(output);
} \ No newline at end of file