zine
zine copied to clipboard
Fast, Scalable, Flexible Static Site Generator (SSG)
Hi @kristoff-it! Hope you don't mind the drive-by pull request, please let me know if there's anything I should do to improve it! I was playing around with Zine and...
What: Some kind of automation which generates a new page with the appropriate frontmatter populated. Similar to `hugo new` Why: There's a little bit of tedious copy+paste when writing a...
Investigate the following issues reported by the implementer in #30 - It doesn't seem like modifying an output file causes the page to automatically reload. - Modifying an input file...
Currently date formatting syntax is based on Go's "magic date", but a proprer conscious decision on what syntax to use should be made. Additionally, currently a handful of ad-hoc formats...
I think Site struct with only `base_url` and `title` is not enough. These shouldn't be redefined in every page. Only override if needed. base_url : str, title : str, author...
I've gotten the following error: ``` thread 14658 panic: TODO: error reporting in resourceFetchError: FileNotFound /nix/store/hnr4v45krhbjqrcs02jbidg6y3cqi1yx-zig-0.12.0-dev.3192+e2cbbd0c2/lib/std/debug.zig:434:22: 0x107ff85 in panicExtra__anon_8891 (super_exe) std.builtin.panic(msg, trace, ret_addr); ^ /nix/store/hnr4v45krhbjqrcs02jbidg6y3cqi1yx-zig-0.12.0-dev.3192+e2cbbd0c2/lib/std/debug.zig:409:15: 0x107fd35 in panic__anon_8432 (super_exe) panicExtra(null,...
This is the current code that applies syntax highlighting: https://github.com/kristoff-it/zine/blob/4b3efd178cb6ee9af3c864fa980ad0499823aac6/zine/src/highlight.zig#L78-L104 This code runs the `highlights.scm` query from the tree sitter parser of each language and decorates the output with appropriate...
I propose to change the end frontmatter end indictor from `---` to `--- |`, or at least allow the presence of the ` |`. This proposal does not affect the...
So we have a build system on hand, and it can also download packages and build them, etc. Shouldn't be terribly hard to make it generate programmatically image preview of...
Follow-up from #10. When the dev server is running and an automatic build errors out, we just show stderr verbatim to the user by placing the text in a ``...