From 2496f0aefe4fec0169c74f27b9748f9c5e6eac86 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 1 May 2020 13:09:15 -0400 Subject: Add generator links --- html.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'html.c') diff --git a/html.c b/html.c index bbc9662..215c208 100644 --- a/html.c +++ b/html.c @@ -385,6 +385,7 @@ int htmlThreadHead(FILE *file, const struct Envelope *envelope) { const char *template = TEMPLATE( + [subject] · [title] @@ -392,6 +393,7 @@ int htmlThreadHead(FILE *file, const struct Envelope *envelope) { char *atom = htmlThreadURL(envelope, "atom"); char *mbox = htmlThreadURL(envelope, "mbox"); struct Variable vars[] = { + { "generator", GENERATOR_URL }, { "subject", envelope->subject }, { "title", baseTitle }, { "atom", atom }, @@ -475,10 +477,12 @@ int htmlSubthreadClose(FILE *file) { static int htmlFooter(FILE *file) { const char *template = TEMPLATE( ); struct Variable vars[] = { + { "generator", GENERATOR_URL }, { "time", htmlUTC(time(NULL)) }, {0}, }; @@ -495,10 +499,12 @@ int htmlIndexHead(FILE *file) { const char *template = TEMPLATE( + [title] ); struct Variable vars[] = { + { "generator", GENERATOR_URL }, { "title", baseTitle }, {0}, }; -- cgit 1.4.1