The look of the CMON1975 mailing list at lists.cmon1975.com, which runs listmonk. This repo holds the replacement page templates, stylesheet and email templates. They match the subscription pages and the opt-in email to cmon1975.com.
Most of these files are modified copies of listmonk's own templates. Like listmonk, they're licensed under the GNU Affero General Public License v3 (see LICENSE). This public repo is the source the pages' footer links to.
listmonk is started with --static-dir pointing at static/. Any file found there replaces listmonk's built-in copy of the same name, and every other file keeps listmonk's default. listmonk reads these files only at startup, so a change shows after a restart or an app reload.
static/public/templates/: the public pages (signup form, opt-in confirmation, unsubscribe and preferences, messages) and the layout they share.static/public/static/: the stylesheet and anything it loads. The fonts infonts/are EB Garamond, under the SIL Open Font License (fonts/OFL-ebgaramond.txt).static/email-templates/: the opt-in email and the frame around listmonk's system emails.
upstream/<version>/ holds listmonk's original copies of the files a theme can replace, as shipped in that release. LISTMONK_VERSION names the release the theme is written against.
To move to a new listmonk release:
- Import its originals with
bin/import-upstream NEW_VERSION path/to/listmonk. - Read
diff -r upstream/OLD upstream/NEWand carry each change over to the matching file instatic/. - Update
LISTMONK_VERSION.
bats tests