summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2019-12-31 02:31:23 +1030
committerDaniel Jones <admin@danieljon.es>2019-12-31 02:31:23 +1030
commite4582742b95840f234b47c8f7b264ac3867fc817 (patch)
tree11af87d417204ad5a06024a786710345180ec974 /config.h
parent1bc7d1547275671f3243ea16cacad0aea6cef649 (diff)
downloadwebsitegenerator-e4582742b95840f234b47c8f7b264ac3867fc817.tar.gz
websitegenerator-e4582742b95840f234b47c8f7b264ac3867fc817.zip
start generating posts
currently gets every file in the posts directory, sorts them and temporarily creates empty txt files in output/posts. lots to do still.
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h b/config.h
index e9374bb..02c8abe 100644
--- a/config.h
+++ b/config.h
@@ -85,6 +85,13 @@ static const char *portfolio_info = "<h1>Projects</h1> Detailing a number of my
static const char *portfolio_content = "content/portfolio.txt";
static const char *portfolio_content_output = "portfolio.html";
+/* posts */
+static const char *posts_title = "Daniel's posts";
+static const char *posts_info = "<h1>Posts</h1>My posts about programming and things.<br>Date format is day/month/year because I'm sane.<br><br>";
+static const char *posts_content = "content/blog/";
+static const char *posts_output_dir = "posts/";
+static const int posts_per_page = 10;
+
/* each page to be generated go into this array */
static const struct page pages[] = {
/* function flags */
@@ -96,6 +103,7 @@ static const struct page pages[] = {
{opinions_animepage, NONE},
{opinions_everythingpage, NONE},
{portfoliopage, NONE},
+ {postspage, NONE},
};
#endif