aboutsummaryrefslogtreecommitdiff
path: root/front.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-09-17 11:20:43 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-09-17 11:20:43 +0200
commit38f8e2242353711d5c87c58f3831306934d2e6b7 (patch)
tree92ec8e297731fb1de90b0e465bb52207bbe5c037 /front.c
parent4b0e767fd645687e8d2a5ded778c57b8cf42bc4a (diff)
downloadcforum-38f8e2242353711d5c87c58f3831306934d2e6b7.tar.gz
Compartmentalize
Diffstat (limited to 'front.c')
-rw-r--r--front.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/front.c b/front.c
index 6b8615c..ff6973e 100644
--- a/front.c
+++ b/front.c
@@ -1,6 +1,14 @@
+#include <stdio.h>
+#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