Microblog Email Schema

Updated 12252024-011822



The template uses a syntax with %20 for inserting values into the email, similar to the syntax used in Hugo for publishing your blog. For example, to add the intro text for a newsletter, the HTML would look like this:

%20.Intro%20

The following variables are available in the newsletter template:

Plug-ins can provide their own templates by including a file layouts/newsletter.html. Your own custom template (set under Newsletters → Settings) will be used first if you've set it. To revert to a plug-in's template or Micro.blog's default template, you can clear the text for your custom template in the settings.

Note that while the template looks very similar to Hugo templates, Hugo itself is not used for processing email newsletters. There will be some features available in Hugo that are not available in email templates.