summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-05-12 12:37:03 +0930
committerDaniel Jones <admin@danieljon.es>2020-05-12 12:37:03 +0930
commitb09dd5e059b8038903e507f33641f216ffe6540e (patch)
tree7503ce7384584e4e3c4127a0cf8341bbf48bbe4e /config.h
parent4e811e1979ec664cbdfcc684624d7f6db58d0a6f (diff)
downloadwebsitegenerator-b09dd5e059b8038903e507f33641f216ffe6540e.tar.gz
websitegenerator-b09dd5e059b8038903e507f33641f216ffe6540e.zip
girl numbers
added ability to use small images as a blog post number count instead of a simple number. it takes each digit in the post number and places an image where the text would be
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/config.h b/config.h
index 177718e..eb181bc 100644
--- a/config.h
+++ b/config.h
@@ -24,6 +24,7 @@ enum flag
RSS = 1<<1,
RSSIMAGES = 1<<2,
PINNED = 1<<3,
+ GIRLNUMBERS = 1<<4,
};
struct page
@@ -106,6 +107,11 @@ static const int post_count = 10;
static const char *base_url = "https://danieljon.es/posts/";
static const char *author_string = "daniel@danieljon.es (Daniel Jones)";
+/* girlnumbers for blog post count */
+static const char *girlnumber_url = "https://danieljon.es/";
+static const char *girlnumber_dir = "/media/numbers/";
+static const char *girlnumber_extension = ".gif";
+
/* each page to be generated go into this array */
static const struct page pages[] = {
/* function flags */
@@ -117,7 +123,7 @@ static const struct page pages[] = {
{opinions_animepage, NONE},
{opinions_everythingpage, NONE},
{portfoliopage, NONE},
- {postspage, RSS|RSSIMAGES|PINNED}, /* flags: RSS feed, RSS images, pinned posts */
+ {postspage, RSS|RSSIMAGES|PINNED|GIRLNUMBERS}, /* flags: RSS feed, RSS images, pinned posts, girl numbers */
};
#endif