~kris/9p

krisyotam.net

krisyotam.net/config.h -rw-r--r-- 834 bytes
8bfa4b74 — Kris Yotam ci: declare SourceHut source for push builds a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* See LICENSE file for copyright and license details. */

/* where the mdx content repo lives */
static const char *contentdir = "/home/krisyotam/lit/content";

/* output: pages go to OUTDIR/<type>/<slug>.html, listings to ./<type>.html */
#define OUTDIR "d"

/* content types and their listing page titles */
static const char *types[][2] = {
	{ "blog",          "Blog" },
	{ "essays",        "Essays" },
	{ "papers",        "Papers" },
	{ "notes",         "Notes" },
	{ "reviews",       "Reviews" },
	{ "fiction",       "Fiction" },
	{ "diary",         "Diary" },
	{ "news",          "News" },
	{ "progymnasmata", "Progymnasmata" },
	{ "verse",         "Verse" },
	{ "prayers",       "Prayers" },
	{ "ocs",           "Original Characters" },
};

/* how many entries to print for the index recent-writing block */
#define NRECENT 5