diff --git a/_includes/add-to-calendar-button.html b/_includes/add-to-calendar-button.html
new file mode 100644
index 0000000..061533f
--- /dev/null
+++ b/_includes/add-to-calendar-button.html
@@ -0,0 +1,21 @@
+
+
+
diff --git a/_includes/upcoming-events.html b/_includes/upcoming-events.html
index 86ab3fa..2309fac 100644
--- a/_includes/upcoming-events.html
+++ b/_includes/upcoming-events.html
@@ -71,7 +71,9 @@
{{ event.title }}
-
+
+
+
+
+
+ {% assign uid = event.url %}
+ {% assign start_date = event.date | date: '%Y%m%dT%H%M%S' %}
+ {% assign end_date = event.end_date | date: '%Y%m%dT%H%M%S' %}
+ {% assign title = event.title %}
+ {% assign description = event.description %}
+ {% assign location = event.location %}
+
+ {% include add-to-calendar-button.html uid=uid start_date=start_date end_date=end_date title=title description=description location=location %}
+
+
{% endfor %}
-
+
\ No newline at end of file
diff --git a/_layouts/event.html b/_layouts/event.html
index ea1676d..8b9a63b 100644
--- a/_layouts/event.html
+++ b/_layouts/event.html
@@ -6,6 +6,7 @@
{% include nav.html %}
+
{% if page.custom_layout == false %}
{{ page.title }}
-
+
@@ -35,10 +36,20 @@
-
+
+ {% assign uid = page.url %}
+ {% assign start_date = page.date | date: '%Y%m%dT%H%M%S' %}
+ {% assign end_date = page.end_date | date: '%Y%m%dT%H%M%S' %}
+ {% assign title = page.title %}
+ {% assign description = page.description %}
+ {% assign location = page.location %}
+
+ {% include add-to-calendar-button.html uid=uid start_date=start_date end_date=end_date title=title description=description location=location %}
+
{% else %}
{% endif %}
@@ -51,10 +62,12 @@
{{content}}
+
{% else %}
- {{content}}
+ {{ content }}
{% endif %}
+
{% include footer.html %}