Fix calendar

This commit is contained in:
Mimi 2021-09-16 19:52:14 +08:00
parent fbf0ea788f
commit 53e540bc3b
2 changed files with 2 additions and 1 deletions

View File

@ -12,5 +12,5 @@
{{ next_data('page', next_config_unique()) }} {{ next_data('page', next_config_unique()) }}
{{ next_data('calendar', {{ next_data('calendar',
theme.calendar if page.type === 'schedule' and not page.title else '') theme.calendar if page.type === 'schedule' else '')
}} }}

View File

@ -1,5 +1,6 @@
/* global CONFIG */ /* global CONFIG */
// https://developers.google.com/calendar/api/v3/reference/events/list
(function() { (function() {
// Initialization // Initialization
const calendar = { const calendar = {