mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Fix calendar
This commit is contained in:
parent
fbf0ea788f
commit
53e540bc3b
@ -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 '')
|
||||
}}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/* global CONFIG */
|
||||
|
||||
// https://developers.google.com/calendar/api/v3/reference/events/list
|
||||
(function() {
|
||||
// Initialization
|
||||
const calendar = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user