Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

3.3 KB
Raw Blame
{
  "root": {
    "type": "EmailLayout",
    "data": {
      "backdropColor": "#F5F5F5",
      "canvasColor": "#FFFFFF",
      "textColor": "#262626",
      "fontFamily": "MODERN_SANS",
      "childrenIds": [
        "block-1744970939431",
        "block-1744970976991",
        "block-1744971036169",
        "block-1744971054197",
        "block-1764116602073"
      ]
    }
  },
  "block-1744970939431": {
    "type": "Heading",
    "data": {
      "props": {
        "text": "Hello {{ .Subscriber.Name }}",
        "level": "h3"
      },
      "style": {
        "padding": {
          "top": 16,
          "bottom": 16,
          "right": 24,
          "left": 24
        }
      }
    }
  },
  "block-1744970976991": {
    "type": "Text",
    "data": {
      "style": {
        "fontWeight": "normal",
        "padding": {
          "top": 16,
          "bottom": 16,
          "right": 24,
          "left": 24
        }
      },
      "props": {
        "markdown": true,
        "text": "This is a test e-mail campaign. Your second name is {{ .Subscriber.LastName }} and this block of text is in Markdown.\n\nHere is a [tracked link](https://listmonk.app@TrackLink).\n\nUse the link icon in the editor toolbar or when writing raw HTML or Markdown, simply suffix @TrackLink to the end of a URL to turn it into a tracking link. Example:\n\n<a href=\"https:/‌/listmonk.app@TrackLink\"></a>\n\nFor help, refer to the [documentation](https://listmonk.app/docs)."
      }
    }
  },
  "block-1744971036169": {
    "type": "Divider",
    "data": {
      "style": {
        "padding": {
          "top": 16,
          "bottom": 16,
          "right": 0,
          "left": 0
        }
      },
      "props": {
        "lineColor": "#CCCCCC"
      }
    }
  },
  "block-1744971054197": {
    "type": "Button",
    "data": {
      "style": {
        "padding": {
          "top": 16,
          "bottom": 16,
          "right": 24,
          "left": 24
        }
      },
      "props": {
        "buttonBackgroundColor": "#0055d4",
        "text": "This is a button",
        "url": "https://listmonk.app"
      }
    }
  },
  "block-1764115374178": {
    "type": "Text",
    "data": {
      "style": {
        "backgroundColor": "#F5F5F5",
        "fontSize": 12,
        "fontWeight": "normal",
        "textAlign": "center",
        "padding": {
          "top": 16,
          "bottom": 16,
          "right": 24,
          "left": 24
        }
      },
      "props": {
        "markdown": true,
        "text": "<a href=\"{{ UnsubscribeURL }}\" style=\"color: #888;\">{{ L.T \"globals.buttons.unsubscribe\" }}</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"{{ MessageURL }}\" style=\"color: #888;\">{{ L.T \"email.viewInBrowser\" }}</a>"
      }
    }
  },
  "block-1764116602073": {
    "type": "Text",
    "data": {
      "style": {
        "backgroundColor": "#F5F5F5",
        "fontSize": 12,
        "fontWeight": "normal",
        "textAlign": "center",
        "padding": {
          "top": 16,
          "bottom": 16,
          "right": 24,
          "left": 24
        }
      },
      "props": {
        "markdown": true,
        "text": "<a href=\"{{ UnsubscribeURL }}\" style=\"color: #888;\">{{ L.T \"globals.buttons.unsubscribe\" }}</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"{{ MessageURL }}\" style=\"color: #888;\">{{ L.T \"email.viewInBrowser\" }}</a>\n{{ TrackView }}"
      }
    }
  }
}