Download List
Download List
Section with a heading (e.g. “Downloads & Links”) and a list of links, optionally with a type label (url, pdf).
In static .mjml templates
Fragment download-list.mjml: placeholders {{DOWNLOAD_LIST_TITLE}} and {{DOWNLOAD_ITEMS}} (mj-text blocks for each item).
In API (TypeScript)
import { buildMjmlDownloadList } from '~/utils/emailTemplates';
buildMjmlDownloadList({ title: 'Downloads & Links', items: [ { label: 'Aufzeichnung ansehen', href: 'https://...', type: 'url' }, { label: 'Folien PDF', href: 'https://...', type: 'pdf' }, ],});type is optional; when set it is shown in parentheses after the link.