From 59e1df233e351a91240c02ac55e8d97bda2f0e43 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Thu, 3 Aug 2017 02:44:36 +0200 Subject: make: added 'html_order' and 'atom_order' settings these settings are used to change the order of the posts on the listings. by default, users are supposed to list their posts from older to newer in the blogcfile, and blogc-make will list them on descending order, both for html listings and atom listings. --- src/blogc-make/settings.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/blogc-make/settings.c') diff --git a/src/blogc-make/settings.c b/src/blogc-make/settings.c index c80feaa..9e24d41 100644 --- a/src/blogc-make/settings.c +++ b/src/blogc-make/settings.c @@ -37,10 +37,12 @@ static const struct default_settings_map { {"index_prefix", NULL}, {"post_prefix", "post"}, {"tag_prefix", "tag"}, + {"html_order", "DESC"}, // atom {"atom_prefix", "atom"}, {"atom_ext", ".xml"}, + {"atom_order", "DESC"}, // generic {"date_format", "%b %d, %Y, %I:%M %p GMT"}, -- cgit v1.2.3-18-g5258