summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-02-09 23:00:13 +1030
committerDaniel Jones <admin@danieljon.es>2020-02-09 23:00:13 +1030
commit09db8e9120d948edc2596cae82019de1e3b0c566 (patch)
tree74077638ff0f6e8c84f1517be58f1b8779cefc73 /config.h
parentfd7d4c157e1de0d9573ab5b3c5a062db193ba917 (diff)
downloadwebsitegenerator-09db8e9120d948edc2596cae82019de1e3b0c566.tar.gz
websitegenerator-09db8e9120d948edc2596cae82019de1e3b0c566.zip
add flag for images in RSS feed
Diffstat (limited to 'config.h')
-rw-r--r--config.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/config.h b/config.h
index bcd15c1..fd3e6dd 100644
--- a/config.h
+++ b/config.h
@@ -20,9 +20,10 @@
enum flag
{
- NONE = 0,
- RSS = 1,
- PINNED = 2,
+ NONE = 1<<0,
+ RSS = 1<<1,
+ RSSIMAGES = 1<<2,
+ PINNED = 1<<3,
};
struct page
@@ -116,7 +117,7 @@ static const struct page pages[] = {
{opinions_animepage, NONE},
{opinions_everythingpage, NONE},
{portfoliopage, NONE},
- {postspage, RSS|PINNED}, /* flags: RSS feed, pinned posts */
+ {postspage, RSS|RSSIMAGES|PINNED}, /* flags: RSS feed, RSS images, pinned posts */
};
#endif