aboutsummaryrefslogtreecommitdiff
path: root/src/template.h
blob: b4d46b3060d25b6dce30c47a0780f3a215faff9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "hashmap.h"

char *read_file(char *filename);
char *template(char *tmpl, struct hashmap *ctx);

struct post {
    char title[64];
    char tags[8][32];
};

struct list {
    void **values;
    int size;
    int cap;
};