This is a small, bespoke static site generator for my gamedev blog, Invariance, written in Rust. It takes blog posts in the form of markdown files as input and generates the corresponding HTML file (including syntax highlighting support for code blocks), the corresponding entry on the landing page, and an Atom feed. Currently it's tightly coupled to my HTML and CSS file structure, doesn't handle errors gracefully, and is undocumented, so there's no reason to use this over any other static site generator. Just releasing the source in case anyone is curious about how my site works.
- Serde and ron, for reading metadata
- markdown, for converting Markdown to HTML
- inkjet, for syntax highlighting
- regex, for working around a limitation of the above, where GDScript symbols
+ - < > / * : [ ] { } ( )
aren't differentiated - atom_syndication, for generating the Atom feed
- chrono, for sorting posts by their publishing date
- convert_case, for, uh, converting case
Your choice of either Apache 2.0 or the MIT license.