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 )
...
- 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
Cotes Chung
b77767f76e
refactor: improve js module loading order
2024-04-29 03:43:33 +08:00
Cotes Chung
e0950fc973
fix: make TOC title and entries visible at the same time ( #1711 )
...
When internet connection speeds are poor, there is a chance that the title of the TOC will appear earlier than its entries, causing a visual cutoff.
2024-04-29 03:36:16 +08:00
Cotes Chung
778ebdf250
chore: delete JS comments from HTML
2024-04-29 03:25:26 +08:00
Huanyu Shi
796c386037
refactor: add date factor to the recommended posts ( #1699 )
2024-04-28 03:03:13 +08:00
Cotes Chung
d4a6d640bd
perf: simplify mode toggle script ( #1692 )
...
Reduce conditional logic to speed up theme mode initialization and switching.
2024-04-21 00:39:12 +08:00
Cotes Chung
cd37f63a01
fix: mode toggle not outlined when receiving keyboard focus ( #1690 )
...
The Tab key focus
2024-04-21 00:15:14 +08:00
Cotes Chung
015d5670a1
refactor: reduce custom CSS
2024-04-21 00:00:50 +08:00
Cotes Chung
63c51384df
chore: remove comments from compressed HTML
2024-04-20 23:59:59 +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
44f552cbce
feat(deps): move MathJax
configuration to a separate file ( #1670 )
...
Move `MathJax` configuration to file `assets/js/data/mathjax.js` will help add extensions.
2024-04-14 04:34:32 +08:00
Azamat Mambetov
9f8aeaadbf
refactor!: rename media-url file and related parameters ( #1651 )
...
- Changed variable `img_cdn` to `cdn` in site configuration file.
- Changed the variable defining the relative path of the image in the post from `img_url` to `media_subpath`
2024-04-13 05:14:55 +08:00
Filippo
61bdca2db4
feat(analytics): add Umami and Matomo tracking codes ( #1658 )
2024-04-09 22:57:06 +08:00
Azamat Mambetov
23be4162b3
feat(media): support audio and video tag with multi sources ( #1618 )
2024-04-05 00:54:50 +08:00
Mascari4615
950839175a
refactor: fix reference to comment parameter site.comments.provider
( #1629 )
2024-03-25 00:57:43 +08:00
Cotes Chung
ce96d7e251
Merge branch 'production'
2024-03-24 02:31:04 +08:00
Cotes Chung
2d649aae0e
fix(post): correct the image URLs ( #1627 )
2024-03-24 02:28:28 +08:00
Cotes Chung
6044df4ff1
Merge branch 'production'
2024-03-23 03:42:00 +08:00
Cotes Chung
74cf57aaac
fix(seo): correct social preview image path inside <meta>
tag ( #1623 )
2024-03-23 03:32:03 +08:00
Alexander Fuks
cfe44f204b
fix: correct the attribute for the Twitter social image ( #1615 )
2024-03-23 02:59:43 +08:00
GetOutOfMyBakery
700fd5bad7
feat: add support for giscus strict title matching ( #1614 )
2024-03-18 19:08:05 +08:00
Azamat Mambetov
834931486d
feat: display theme version in footer ( #1611 )
2024-03-18 18:52:33 +08:00
Alexander Fuks
f865336c89
feat: make post description customizable ( #1602 )
...
---------
Co-authored-by: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
2024-03-18 18:50:05 +08:00
Cotes Chung
0f8e782bfd
Merge branch 'production'
2024-03-08 04:12:38 +08:00
Sukka
75a3d7399b
refactor: replace polyfill.io
for cdnjs
hosted link ( #1598 )
2024-03-08 04:05:58 +08:00
Neil Boyd
547b95cc7a
feat(i18n): allow page.lang
to override site.lang
( #1586 )
2024-03-05 03:09:39 +08:00
Alexander Fuks
6112b15b8e
refactor: change alternate url for embed video file ( #1579 )
2024-02-29 23:55:30 +03:00
Alexander Fuks
e24a0c73ba
refactor: use explicit url for goatcounter ( #1578 )
2024-02-29 23:01:10 +03:00
Cotes Chung
0f5abc82a2
Merge branch 'production'
2024-03-01 03:51:26 +08:00
Cotes Chung
19d6bafbe1
fix: correct the base URL parameter name ( #1576 )
...
#1553 introduced
2024-03-01 02:50:10 +08:00
Alexander Fuks
9592146ca3
feat: add support for embed video files ( #1558 )
2024-02-27 23:51:33 +03:00