Cotes Chung
65f960c31a
perf: speed up page rendering and jekyll build process ( #2034 )
...
- Ensure inline scripts execute after the DOM has fully loaded.
- Use Rollup to bundle the theme-mode and Mermaid scripts, reducing the number of Jekyll include snippets.
2024-11-16 22:49:55 +08:00
Cotes Chung
778ebdf250
chore: delete JS comments from HTML
2024-04-29 03:25:26 +08:00
Cotes Chung
fe7afa379f
perf: replace jQuery with Vanilla JS ( #1681 )
...
Also replaced `magnific-popup` with `GLightbox`
2024-04-17 06:10:01 +08:00
Cotes Chung
b34661efd7
fix: avoid utterances
initialization failure ( #1234 )
...
This issue exists since Chirpy `v6.0.0`
2023-09-15 01:24:13 +08:00
Cotes Chung
bb589e8d31
style: prettify utteranc
code snippet
2023-09-15 01:13:20 +08:00
Cotes Chung
0f6b170e24
Use constants to define resources for utterances
...
Self-host the JS for `utterances` is not necessary, because the list of comments cannot be loaded if the network is offline.
2022-02-12 05:47:48 +08:00
Cotes Chung
3685685b28
Make the source of the static assets configurable
...
- Easy to switch between different CDN
- Allow self-host static assets
2022-02-10 04:12:35 +08:00
Cotes Chung
f8f4dd889e
Normalized attribute name in HTML
...
Add prefix `data-` for following attributes:
- `topbar-visible`
- `mode`
- `label-text`
- `title-succeed`
2022-01-13 00:23:08 +08:00
Cotes Chung
d315bf57e7
Integrate utterances comments
2021-12-13 04:40:05 +08:00