A patchwork template for a newsletter with some utilities to compile a structure of markdown files to a unified, email-ready, html file.
Place any content in the content directory of this repository.
content/mainholds content for the main feedcontent/eventsholds content for the side feed (mostly upcoming events)content/en/mainmay hold an internationalized (i.e. english) version of the main feedcontent/en/eventsmay hold and internationalized (i.e. english) version of the side feed
To compile the content into an html newsletter we suggest you use nix-shell to enter a shell with nodejs and all packages installed.
Alternatively, you can install nodejs on your machine, enter the utils directory, execute npm i and come back to the root directory.
Which ever path you take, compilation is just a matter of executing
sh compile.sh