cld-ssg

The static site generator (to be) used for hellocld.com
git clone git://git.hellocld.com/cld-ssg
Log | Files | Refs | README

commit 6a8ad3d75d20c12ae97aa45bd94e1fb22e951708
parent c71de17f0bad99a8d5e46252fc5a2198537478b7
Author: Christopher Ray Langford <chris@hellocld.com>
Date:   Tue,  5 Nov 2019 11:40:47 -0500

Months start at 1 now

Diffstat:
Mmain.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -162,7 +162,7 @@ struct post *create_post(const char *file) if(!p->is_static) { sprintf(p->dir, "%d/%02d/%02d/", p->time->tm_year + 1900, - p->time->tm_mon, + p->time->tm_mon + 1, p->time->tm_mday); } else