Browse Source

Add CalSubscribe options to calendar template. (#54)

* Update Events page on main site

* Update calendar.ejs

* added calSubscribe to calendar

* removed accidental g char

* feckin divs
master
Sean Fradl (Fraz) 2 years ago
committed by Ben McMahon
parent
commit
62373f9445
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      layout/common/calendar.ejs

+ 6
- 1
layout/common/calendar.ejs View File

@@ -16,9 +16,14 @@
</script>
<div id='calendar'></div>
</div>
<% if (post.calSubscribe !== undefined) { %>
<div class="calendar__message">
<a class="footer-info__link" href="<%- url_for(post.calSubscribe.url) %>"><%= post.calSubscribe.text %></a>
</div>
<% } %>
<% if (post.calMessage !== undefined) { %>
<div class="calendar__message">
<a class="footer-info__link" href="<%- url_for(post.calMessage.url) %>"><%= post.calMessage.text %></a>
</div>
<% } %>
<div>
<div>

Loading…
Cancel
Save