Cotes Chung
ceb2a41463
fix(giscus): synchronize theme state during lazy loading ( #2742 )
...
Previously, theme switch events were lost if triggered before the
Giscus iframe was fully loaded (e.g., when deferred by lazy loading
or before the client script executed). This resulted in Giscus
rendering with the outdated initial theme once it finally appeared
in the viewport.
This commit handles these edge cases by:
1. Updating the `data-theme` attribute on the Giscus script node
if the iframe hasn't been created yet.
2. Modifying the `theme` query parameter in the iframe's `src` URL
if it is currently in a pending/lazy-loading state.
2026-05-23 23:00:48 +08:00
Cotes Chung
38232120b7
fix(pwa): avoid iOS status bar overlapping PWA content ( #2173 )
...
Fixes #2173
2026-05-16 14:39:58 +08:00
Cotes Chung
832b24729d
refactor(deps): update CDN URLs to follow production best practices ( #2740 )
2026-05-15 15:38:08 +08:00
Cotes Chung
97a537e692
chore(deps): bump mathjax from 3.2.2 to 4.x
2026-05-15 15:22:19 +08:00
Alexander Fuks
6bd446ccde
feat: add edit this post link ( #2517 )
2026-05-06 22:31:32 +08:00
lynkos
2685b91957
fix: prevent Firefox from opening blank page on mailto links ( #2642 )
2026-04-10 00:29:33 +08:00
Cotes Chung
6afe5a6d7b
refactor: correct typos in comments and identifiers ( #2681 )
...
- Rename `loadTooptip` to `loadTooltip` in tooltip-loader.js, components.js, and basic.js
- Fix grammar: "This script make" → "This script makes" in search-display.js
- Fix "HomgPage" → "HomePage" in post-paginator.html
- Fix "CND URL" → "CDN URL" in media-url.html
- Fix "locale-dateime.js" → "locale-datetime.js" in datetime.html
- Fix "LaTex" → "LaTeX" in language-alias.html
- Fix "exist <a> tag" → "existing <a> tag" in refactor-content.html
- Fix "Archvies" → "Archives" in _archives.scss
- Fix "underlinke" → "underline" in _syntax.scss
2026-03-14 19:01:21 +08:00
nakamura
52d160f857
fix(i18n): localize the title ( #2610 )
2025-12-18 01:51:53 +08:00
Jason Raveling
d2db439c16
feat: add support for fediverse:creator meta tag ( #2593 )
2025-11-17 14:19:16 +08:00
Cotes Chung
37377a43e0
Revert "refactor: avoid converting media‘s relative paths to absolute paths ( #2552 )"
...
This reverts commit b3d7db3cda .
2025-10-27 05:16:47 +08:00
Cotes Chung
45cb428b01
build(deps): upgrade dependencies
2025-10-20 07:11:29 +08:00
Cotes
aa832c29de
refactor: update favicon files and documentation ( #2558 )
2025-10-20 02:55:43 +08:00
Cotes
604528e3ce
fix(search): restore full-text search for posts with description ( #2557 )
2025-10-20 02:24:40 +08:00
Cotes
b3d7db3cda
refactor: avoid converting media‘s relative paths to absolute paths ( #2552 )
2025-10-17 00:02:12 +08:00
Cotes
221ca9f52b
fix: restore blurry animation for homepage LQIP ( #2551 )
2025-10-14 04:36:02 +08:00
Alexander Fuks
cda62e28d1
feat: add support for embed spotify ( #2515 )
2025-09-08 23:45:20 +04:00
Jason Raveling
5f8ec7ffd3
fix: avoid unconfigured social options in sidebar ( #2507 )
2025-08-31 21:51:01 +08:00
semantic-release-bot
8bf72fc234
Merge branch 'production'
2025-07-26 12:25:02 +00:00
Cotes Chung
7615d72e93
fix: escape special JSON characters in search results ( #2481 )
...
Also restore full-text search
2025-07-26 20:22:30 +08:00
Alexander Fuks
c706799f9b
fix: correct GoatCounter pageviews extraction ( #2420 )
2025-06-01 04:51:43 +08:00
Cotes Chung
519e4f193a
chore: upgrade dependencies to the latest version ( #2409 )
2025-05-18 21:14:56 +08:00
Cotes Chung
d0f8f9553e
fix: improve accuracy of moving img element classes ( #2399 )
2025-05-11 22:19:18 +08:00
Cotes Chung
401e2af0f8
fix: avoid mathjax loading failure on page refresh ( #2389 )
2025-05-05 11:55:48 +08:00
László Várady
f7449299e8
fix: prevent the search bar from moving when focused ( #2336 )
2025-04-07 19:36:32 +08:00
Alejandro
db40db6d3d
chore: add parameter in search-results.html ( #2330 )
2025-04-05 07:28:29 +08:00
Türkalp Burak KAYRANCIOĞLU
54d4d59d22
perf(seo): improve accessibility and aligns with best practices ( #2289 )
2025-03-08 22:24:47 +08:00
Cotes Chung
0eb7efa7f5
fix(search): avoid missing spaces between paragraphs in search results ( #2199 )
...
- Use a common post-snippet for search results to avoid line break issues
- Reduce Jekyll include files to speed up the build
- Remove outdated key from search.json
2025-01-20 21:27:18 +08:00
Cotes Chung
8a4d0bc4ee
fix(ui): left borderline of TOC is notched ( #2140 )
2024-12-22 03:11:20 +08:00
Cotes Chung
1b4e318dc1
fix(ui): gap between TOC entries is inconsistent ( #2119 )
...
In desktop mode, H2 and the first sub-level H3 in the TOC are too close.
2024-12-15 14:43:07 +08:00
Cotes Chung
7ea3545ba3
refactor: reduce the height of the TOC bottom overlay in desktop mode
2024-12-05 21:09:07 +08:00
Cotes Chung
8280adb901
fix(toc): resume fade up animation in desktop mode ( #2085 )
2024-12-03 22:41:28 +08:00
Cotes Chung
4180992272
style: add indentation to js code
2024-12-03 22:22:20 +08:00
Alexander Fuks
a16aa7d41e
fix: correct the import condition for theme script ( #2075 )
2024-12-01 04:34:12 +08:00
Alexander Fuks
b4019f3517
fix: ensure pageviews are fetched after DOM is loaded ( #2071 )
2024-11-30 23:07:53 +03:00
Cotes Chung
5265b03974
feat: support vertical scrolling for toc in desktop mode ( #2064 )
2024-11-28 05:40:57 +08:00
Cotes Chung
35c794cf58
perf: modular sass architecture ( #2052 )
...
- Modularized the Sass architecture to enhance code maintainability and reduce the output file size
- Replaced deprecated `@import` with `@use` / `@forward`
2024-11-25 00:05:28 +08:00
Cotes Chung
65f960c31a
perf: speed up page rendering and jekyll build process ( #2034 )
...
Close stale issues and PRs / stale (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Style Lint / stylelint (push) Has been cancelled
Lint Commit Messages / commitlint (push) Has been cancelled
Build and Deploy / build (push) Has been cancelled
Build and Deploy / deploy (push) Has been cancelled
- 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
Alexander Fuks
8a064a5e5a
feat: show toc on mobile screens ( #1964 )
2024-10-11 22:32:10 +08:00
Alexander Fuks
e6b87d2811
chore: remove h1 element from site title ( #1960 )
2024-09-24 08:21:34 +08:00
Cotes Chung
5a63244721
fix(pwa): site baseurl not passed to app.js ( #1955 )
2024-09-18 22:32:26 +08:00
Cotes Chung
3ab3b844d2
refactor: replace deprecated meta element
...
Replace `apple-mobile-web-app-capable` with `mobile-web-app-capable`
2024-09-18 21:41:08 +08:00
Julius Gamanyi
befc4ce9c5
feat(analytics): add fathom analytics ( #1913 )
2024-08-22 01:21:29 +08:00
Cotes Chung
0709854dc8
fix: adapt the giscus localization parameter ( #1810 )
2024-06-16 22:25:41 +08:00
Cotes Chung
7ca9c59784
build(deps-dev): remove package rollup-plugin-license ( #1796 )
...
The `rollup-plugin-license` has been using too many deprecated dependencies, so it is necessary to remove it.
As an alternative, this changes uses Rollup `output.banner` to insert copyright information. Since `terser` runs after `output`, it is not possible to insert the Front Matter defining permlink for `sw.js` through the same way (Jekyll Front Matter is YAML rather than JS, which would cause errors with terser).
Therefore, _Jekyll Collection_ is now used to add permlink to `sw.js`, with the collection named `app`, and the directory placed in `_app`. This directory is not tracked by git, but it will be included when building the gem.
2024-06-05 23:51:10 +08:00
Cotes Chung
33a1fa7cae
fix(analytics): goatcounter pv greater than 1K cannot be converted to numbers ( #1762 )
...
The goatcounter PV report splits numbers with spaces, e.g. 1024 would be '1 024'
2024-05-18 18:52:45 +08:00
Alexander Fuks
00a27a1b85
fix: audio/video path apply variable media_subpath ( #1745 )
2024-05-18 18:47:12 +08:00
Cotes Chung
363a3d936b
perf: tree shaking Bootstrap CSS ( #1736 )
2024-05-11 11:15:12 +08:00
Cotes Chung
ddb48eda52
perf: lean bootstrap javascript ( #1734 )
2024-05-11 10:29:14 +08:00
Hieu D
c17fba44f5
feat: add cloudflare web analytics ( #1723 )
2024-05-04 08:46:17 +08:00
Cotes Chung
dcb0add47b
refactor!: optimize the resource hints ( #1717 )
...
Improved the data structure for defining resource hints to the browser.
2024-05-02 05:11:45 +08:00