Skip to main content

Templates

Templates define the outer design of your emails — header, footer, fonts, colours — so you don't have to rebuild the layout for every campaign.

Viewing templates

Go to Templates in the left sidebar. Listmonk ships with a default template. You can edit it or create your own.

Creating a template

  1. Click New template.
  2. Give it a name.
  3. Write the HTML. Your template must include the body placeholder:
    {{ template "content" . }}
    Listmonk inserts the campaign body here at send time.
  4. Click Save and preview to see how it looks, then Save.

Editing a template

Click the template name to open the editor. Changes you save here apply to any future campaign that uses this template. Already-sent campaigns are not affected.

Setting a default template

On the templates list, click the three-dot menu and choose Set as default. New campaigns will pre-select this template.

Listmonk automatically appends the unsubscribe link — you don't need to add it manually. If you want to control its position, include the following in your template:

<a href="{{ .UnsubscribeURL }}">Unsubscribe</a>

Tips

  • Keep your CSS inline — many email clients strip <style> blocks.
  • Test in multiple email clients before using a new template in a live campaign.
  • Use {{ .Subscriber.FirstName }} in the template to personalise the greeting.