Michel is a static site generator that uses MyST Markdown and Go templates.
You can think of Michel as a "MyST-flavored Hugo-lite with a simple, explicit content model."
What does that mean?
- MyST-flavored: Content in Michel is authored using Markedly Structured Text (MyST). MyST is an extension to Markdown that adds many features useful for technical and scientific writing. Functionality that would typically be part of the static site generator can, in Michel, be delegated to MyST.
- Hugo-lite: Michel ships as a single binary and builds static sites quickly. It uses Go's standard library templating package for HTML templating. If you've used Hugo before, this part will be familiar. But Michel does not have taxonomies, shortcodes, render hooks, modules, or asset pipelines.
- Simple, explicit content model: Michel makes no assumptions about how your content maps to pages in your site. Instead, you create a page template corresponding to each output page and pull in zero, one, or more content files as you need. This demands some manual effort upfront in return for a guarantee that you will always understand what pages appear in your built site and why.
Here are a few more reasons you might want to use Michel:
- Michel gives you access to the MyST abstract syntax tree at templating time, making it easy to generate excerpts for an index page or content outlines for a sidebar.
- Michel has an
exportcommand that will eventually let you export your writing in multiple formats, including Typst. - Michel will eventually have a plugin system that makes it possible for you to define your own MyST roles and directives.
TODO
Michel builds a site by reading input files from these directories:
content: Your website content / prose, written using MyST Markdown.
site: Your website HTML pages (templated using Go templating) and assets.
layouts: Your templated layouts that can be shared among multiple pages.
partials: Your templated sub-components that can be shared among multiple
pages.
After processing, all output gets written to a directory named public.
