From 61cdc43efe23719c9713ee3ae87818d7b9f2699d Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Fri, 27 Dec 2019 02:59:16 +1030 Subject: moved some code around and finished basic page generation it is far too hacky though, createtmpfile() is an ugly hack that cannot stay. the problem is replaceinpage() and the functions it calls expects a file name that it opens, i cannot just pass it a string. i need to figure out a better solution --- config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.h') diff --git a/config.h b/config.h index 5e47583..d28ce62 100644 --- a/config.h +++ b/config.h @@ -37,6 +37,7 @@ static const char *info_string = "{INFO}"; static const char *time_string = "{TIME}"; static const char *template_file = "template.txt"; static const char *frontpage_title = "Index"; +static const char *frontpage_info = "

Index

"; static const char *frontpage_index = "content/index.txt"; static const char *frontpage_index_output = "index.html"; -- cgit v1.2.3