tangled
alpha
login
or
join now
lunyav.tngl.sh
/
Makko
forked from
starlightnet.work/Makko
0
fork
atom
Makko, the people-oriented static site generator made for blogging.
0
fork
atom
overview
issues
pulls
pipelines
Fixed broken feed generation
Nelson Lopez
2 months ago
4e797d9d
5e1b1d38
+5
-15
2 changed files
expand all
collapse all
unified
split
doc
blog
styles.css
src
main.zig
+2
-12
doc/blog/styles.css
···
262
262
position: fixed;
263
263
left: 20px;
264
264
width: 300px;
265
265
-
height: 80dvh;
266
266
-
overflow-y: scroll;
265
265
+
height: 100vh;
266
266
+
overflow-y: auto;
267
267
padding: 15px;
268
268
z-index: 1000;
269
269
text-align: center;
···
288
288
flex-direction: column;
289
289
justify-content: center;
290
290
align-items: center;
291
291
-
}
292
292
-
293
293
-
#toc-container.active {
294
294
-
display: unset;
295
295
-
max-width: fit-content;
296
296
-
padding: 0px;
297
297
-
padding-right: 12px;
298
298
-
padding-top: 12px;
299
299
-
max-height: 85dvh;
300
300
-
box-shadow: 0px 0px 10px 10px rgba(0,0,0,50%);
301
291
}
302
292
303
293
#toc-toggle:hover {
+3
-3
src/main.zig
···
128
128
var pass = try makko.automaticPass();
129
129
defer pass.deinit();
130
130
131
131
+
makko.generateFeeds() catch |err|
132
132
+
log.err("Could not generate feeds! ({})", .{err});
133
133
+
131
134
// No changes made! :O
132
135
if (pass.changes.items.len == 0) {
133
136
log.info("Nothing to do!", .{});
···
135
138
}
136
139
137
140
log.info("Starlight Makko v{s}", .{VERSION_STRING});
138
138
-
139
139
-
makko.generateFeeds() catch |err|
140
140
-
log.err("Could not generate feeds! ({})", .{err});
141
141
142
142
// I... don't know how this could fail! other than alloc/os stuff
143
143
try makko.storeDatabase();