summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2019-12-27 02:59:16 +1030
committerDaniel Jones <admin@danieljon.es>2019-12-27 02:59:16 +1030
commit61cdc43efe23719c9713ee3ae87818d7b9f2699d (patch)
treec065af81070f356981d3810dec65afe2a44711c5 /config.h
parentd5d0883ec84653c13c01d35824c95fa3dd682348 (diff)
downloadwebsitegenerator-61cdc43efe23719c9713ee3ae87818d7b9f2699d.tar.gz
websitegenerator-61cdc43efe23719c9713ee3ae87818d7b9f2699d.zip
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
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
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 = "<h1>Index</h1>";
static const char *frontpage_index = "content/index.txt";
static const char *frontpage_index_output = "index.html";