           </div>
         </div>
       """
-      console.log(template)
     else
       $li = $("<li class='event-list__item' />")
       template = """

  if Object.keys(eventData).length == 0
    $list.append $("<li class='event-list__item'>Our next events will appear here the instant they are available, so stay tuned.</li>")
  for event in eventData
    console.log(event)
    if event.message?
      message=event.message
    else

        <span class="event-list__link"><a href="#{event.link}">Read more >></a></span>
      """
    $li.append $($.trim template)
    $list.append $li
  # format dates
  $.timeago.settings.relativeTime = true
  $("time").timeago()