diff --git a/layout/_partials/head/head-unique.njk b/layout/_partials/head/head-unique.njk index 0b4f160..14505f6 100644 --- a/layout/_partials/head/head-unique.njk +++ b/layout/_partials/head/head-unique.njk @@ -12,5 +12,5 @@ {{ next_data('page', next_config_unique()) }} {{ next_data('calendar', - theme.calendar if page.type === 'schedule' and not page.title else '') + theme.calendar if page.type === 'schedule' else '') }} diff --git a/source/js/schedule.js b/source/js/schedule.js index 2559575..6b58acd 100644 --- a/source/js/schedule.js +++ b/source/js/schedule.js @@ -1,5 +1,6 @@ /* global CONFIG */ +// https://developers.google.com/calendar/api/v3/reference/events/list (function() { // Initialization const calendar = {