From 38f8e2242353711d5c87c58f3831306934d2e6b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 17 Sep 2021 11:20:43 +0200 Subject: Compartmentalize --- front.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'front.c') diff --git a/front.c b/front.c index 6b8615c..ff6973e 100644 --- a/front.c +++ b/front.c @@ -1,6 +1,14 @@ +#include +#include "site.h" + void front() { + char *title; + + title = site.name; printf("Content-Type: text/html\n\n"); - #include "front.tc" + #include "t/head.tc" + #include "t/front.tc" + #include "t/foot.tc" } \ No newline at end of file -- cgit v1.2.3