You are here

Adding NationBuilder Events to a Google Calendar With a Link

Submitted by Nicole on March 7, 2014 - 10:53am

Adding a link to your event pages, which allow visitors to add the event to their Google calendar, is super easy!
Simply edit your pages_show_event template and add this code where you want the link to show up:

{% assign event_hour_start = page.event.local_start_at | date: "%H" %}

{% assign event_day_start = page.event.local_start_at | date: "%d" %}

{% assign event_hour_end = page.event.local_end_at | date: "%H" %}

{% assign event_day_end = page.event.local_end_at | date: "%d" %}

For more content like this, check out our NationBuilder Field Guide.