<% layout('layouts/email') %>
<h2 align="center" style="margin-bottom:5;"><b><%= event.name %></b> </h2>
<p align="center" style="margin-top: 0;">
  <%= new Date(event.eventStart).toLocaleDateString() %>
  <% if (new Date(event.eventStart).toLocaleDateString() != new Date(event.eventEnd).toLocaleDateString()) { %> to
  <%= new Date(event.eventEnd).toLocaleDateString() %>
  <% } %>
</p>
<p style="margin-bottom:0;">The Event Organiser has sent the following message:</p>
<%- customMessage %>