aboutsummaryrefslogtreecommitdiff
path: root/front.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-09-17 20:57:05 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-09-17 20:57:05 +0200
commit361bb55f01ba28960a8127b0a16c1e7a7a8de61a (patch)
treeff0479af1c9283c8a0546025022ebc54616a9a75 /front.c
parent2810ad72aeb973a898034d6875922284062c5ce0 (diff)
downloadcforum-361bb55f01ba28960a8127b0a16c1e7a7a8de61a.tar.gz
Rewrite mktpl script in C
The Perl version didn't handle multiple interpolations on the same line.
Diffstat (limited to 'front.c')
-rw-r--r--front.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/front.c b/front.c
deleted file mode 100644
index 7bba90a..0000000
--- a/front.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <stdio.h>
-#include "query.h"
-#include "site.h"
-
-void
-front()
-{
- char *title;
-
- title = site.name;
- printf("Content-Type: text/html\n\n");
- #include "t/head.tc"
- #include "t/front.tc"
- #include "t/foot.tc"
-} \ No newline at end of file