Commit graph

305 commits

Author SHA1 Message Date
Cotes Chung
37c976499e
perf(ui): improve web accessibility (#447)
- Make color and contrast meets WCAG 2 AA and above
- Fixes `aria-label` on button "copy link" in posts
2023-08-02 21:08:56 +08:00
Cotes Chung
2bbfda79ad
refactor(layout): improve margin bottom of the core block (#1116)
Improvement of commit 73af591
2023-06-28 20:21:30 +08:00
Cotes Chung
4fe145e980
perf(build): use jekyll-include-cache plugin to reduce build time (#1098)
Resolve #1094 and add margin bottom for layout tags

Co-authored-by: Jake Kerr <kodafox@gmail.com>
2023-06-19 14:41:40 +08:00
Cotes Chung
83625644ea
refactor(core): remove GA page views report (#1071)
- Google Analytics superProxy has been archived and is no longer maintained.
- Google Analytics UA end of life.

See also: https://support.google.com/analytics/answer/11583528?hl=en
2023-06-04 10:56:31 +08:00
Cotes Chung
73af59194a
fix(ui): min-height of page layout exceeds the mobile screen 2023-05-20 05:28:15 +08:00
Cotes Chung
a51d31c55a
fix(typography): long string for update-list is not truncated (#1050)
Resolves #1049
2023-05-19 01:50:45 +08:00
Cotes Chung
eb40f51c84
fix(layout): restore the margin bottom of the main area (#1047) 2023-05-18 11:09:32 +08:00
Cotes Chung
3bd881da70
fix(post, page): image link loses shimmer effect (#1046) 2023-05-18 10:58:23 +08:00
Cotes Chung
d81f836b06
refactor: simplify basic layout (#1039)
A dynamically expanding/collapsing topbar is difficult to maintain and not very useful.
2023-05-17 01:59:34 +08:00
Cotes Chung
52f5ee9cd3
perf: calculate heading font size dynamically (#983) 2023-05-13 11:35:55 +08:00
Cotes Chung
c283e7782f
refactor!: rename assets origin configuration files 2023-05-13 07:03:15 +08:00
Cotes Chung
9d97120197
perf(assets): reduce HTTP requests to CDN 2023-05-13 03:29:06 +08:00
Cotes Chung
d9e1d84f08
refactor(deps): upgrade bootstrap from v4.6 to v5.2
- update class name of the spacing, font style, cards and toasts
- update attribute names &  tooltip usage
- remove custom smooth scroll
- syntax colors
2023-05-13 02:05:33 +08:00
Cotes Chung
3210c59466
feat(ui): new design footer content layout 2023-05-13 02:05:33 +08:00
Cotes Chung
83bbe4ac93
feat(ui): redesign the sidebar 2023-05-13 02:05:33 +08:00
Cotes Chung
6d99f5cc36
feat(ui): improve code snippet design 2023-05-13 02:05:33 +08:00
Cotes Chung
34499f0c92
perf(ui): improve hover effect of trending tags 2023-05-13 02:05:31 +08:00
Cotes Chung
2918da9f29
perf(ui): improve related posts design 2023-05-13 02:05:31 +08:00
Cotes Chung
97b8dfeed6
feat(ui): show preview image in home page 2023-05-13 02:05:30 +08:00
Cotes Chung
ee88cec270
fix: parameter parsing error in image URL (#1022) 2023-05-13 01:02:15 +08:00
Darian Miller
8da583d403
feat: support hiding the modification date of a post (#1020)
There is the current ability to set `last_modified_at` in the front matter of post and use that datetime instead of the built in logic.
New feature in post.html:  if the modified date time matches the date of the post, then don't show "Updated xxxx"
2023-05-06 11:04:17 +08:00
Cotes Chung
61fdbcb83a
perf(i18n): set the global default locales to "en" (#979)
Avoid missing labels caused by languages ​​outside of locales.
2023-05-06 07:22:29 +08:00
Song-Zi Vong
fe203417d9
feat: add a hook to insert custom metadata in head tag (#1015) 2023-05-06 07:10:08 +08:00
Song-Zi Vong
6fec411c18
fix: mode-toggle leads to Disqus loading failure (#945) 2023-03-22 22:22:07 +08:00
Cotes Chung
820ba62e9e
fix: notch status bar doesn't match theme color (#918)
Resolves #918
2023-03-17 01:17:06 +08:00
Cotes Chung
02b7bd5095
feat: change TOC plugin to tocbot (#774) 2023-03-16 03:00:29 +08:00
Cotes Chung
b69d3d7edd
refactor(build): modularize JS code
- replace gulp with rollup
- remove JS output from repo
2023-03-15 21:51:37 +08:00
Cotes Chung
5cbaf24bcb
refactor(sidebar): improve creation of social links 2023-02-06 22:33:20 +08:00
Cotes Chung
babb4a0c5a
fix: prompt with nested blockquotes renders incorrectly (#846)
Resolves #846
2023-01-30 04:58:30 +08:00
Cotes Chung
f2d285844e
fix: correct encoding of spaces in share URLs (#835)
Resolves #835
2023-01-06 21:26:43 +08:00
Cotes Chung
7a3d743419
chore: update footer meta information 2022-12-25 23:48:37 +08:00
Ken Dale
d2190c726f
feat: add rel="me" to Mastodon sidebar contact links for verification (#807)
This will enable verification with Mastodon by including the `rel="me"` attribute.
https://docs.joinmastodon.org/user/profile/#verification

Co-authored-by: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
2022-12-25 03:31:11 +08:00
Cotes Chung
ed6dc539ef
feat: add embed video support 2022-12-25 00:00:07 +08:00
Cotes Chung
8de1abda6b
fix: og:image will be incorrect if the image uses a cross-domain URL 2022-12-25 00:00:07 +08:00
Cotes Chung
ab16fdc7fc
feat: add shimmer background when image loads 2022-12-24 23:51:47 +08:00
Cotes Chung
bffaf6374f
feat: support LQIP for images 2022-12-15 02:27:12 +08:00
Cotes Chung
ca41c7ebff
chore(deps): use lazysizes to load images 2022-12-09 07:36:06 +08:00
Cotes Chung
7efd2f8aa2
fix: spaces in post title are encoded when sharing
Reproducible on iOS Safari
2022-12-08 01:05:17 +08:00
Cotes Chung
ec98f07aca
fix: refactoring error when the image URL contains parameters 2022-12-08 00:40:12 +08:00
Cotes Chung
b0d5956f5a
fix(comment): disqus doesn't follow theme mode switching 2022-11-22 19:05:19 +08:00
Cotes Chung
da7d7e25b6
refactor: enhance the setting of preview image path 2022-11-18 22:16:35 +08:00
Cotes Chung
f6e9a3fccf
fix: the image URL in the SEO-related tags is incomplete (#754)
This issue occurs when setting the `img_path` of the post or the `baseurl` of the site configuration.
2022-11-17 07:31:05 +08:00
Cotes Chung
48f14e39ac
fix: mermaid occasionally fails to initialize (#536) 2022-11-05 04:58:23 +08:00
Cotes Chung
1fd665bf49
perf: modify checkbox icon with Liquid
Also optimize list padding start
2022-10-24 21:06:02 +08:00
Cotes Chung
d96fa5aa0c
refactor: reduce language include file 2022-10-19 04:22:13 +08:00
Cotes Chung
6852ceb280
refactor: remove site config option prefer_datetime_locale 2022-10-19 04:22:12 +08:00
Cotes Chung
f904e8cd48
refactor(locale): restore options for changing date format (#716) 2022-10-19 04:14:59 +08:00
Petr Ruzicka
70662a0365
chore(giscus): add reactions-enabled option (#712) 2022-10-15 04:31:44 +08:00
Cotes Chung
fd5df7e1a1
refactor(typo): optimize the site-title position 2022-10-13 22:36:09 +08:00
Cotes Chung
49bb93cc0c
perf(layout): improve the min-height of main content (#674) 2022-09-29 22:50:40 +08:00