tangled
alpha
login
or
join now
starlightnet.work
/
Makko
Makko, the people-oriented static site generator made for blogging.
forge.starlightnet.work/Team/Makko
ssg
static-site-generator
makko
starlight-network
5
fork
atom
overview
issues
pulls
pipelines
Fixed regenerate mode, added to schema.
n
6 months ago
98264a90
66ff867a
+5
-1
2 changed files
expand all
collapse all
unified
split
makko.schema.json
src
Makko.zig
+4
makko.schema.json
···
21
21
"symlinks_enabled": {
22
22
"type": "boolean"
23
23
},
24
24
+
"cleanup_mode": {
25
25
+
"type": "string",
26
26
+
"enum": ["regenerate", "none"]
27
27
+
},
24
28
"source": {
25
29
"type": "string"
26
30
},
+1
-1
src/Makko.zig
···
146
146
147
147
if (!helper.exists(root_dir, paths.output))
148
148
try root_dir.makeDir(paths.output);
149
149
-
const output_dir = try root_dir.openDir(paths.output, .{});
149
149
+
const output_dir = try root_dir.openDir(paths.output, .{ .iterate = true });
150
150
151
151
if (paths.symlinks_enabled and !helper.supports_symlinks) {
152
152
log.warn(