1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

chore: delete JS comments from HTML

This commit is contained in:
Cotes Chung
2024-04-29 03:25:26 +08:00
parent 796c386037
commit 778ebdf250
4 changed files with 13 additions and 11 deletions

View File

@@ -47,7 +47,7 @@
event.data &&
event.data.direction === ModeToggle.ID
) {
/* global theme mode changed */
{%- comment -%} global theme mode changed {%- endcomment -%}
const mode = event.data.message;
const theme = mode === ModeToggle.DARK_MODE ? darkTheme : lightTheme;