Commit graph

316 commits

Author SHA1 Message Date
Cotes Chung
e9c920641b
perf(comments): lazy load giscus (#1254)
Enable the `giscus` lazy loading option to improve web performance.
2023-09-20 05:48:14 +08:00
Cotes Chung
13a3c3c906
perf(layout): improve margins for tail block (#1243)
Keeps the margin of the elements in the tail area consistent regardless of the number of siblings, or if a <script> is inserted.
2023-09-18 03:26:02 +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
273b389c51
fix(sidebar): contact icons not stacking (#1224)
Fixes #1224
2023-09-11 02:28:16 +08:00
Cotes Chung
aff7566774
feat(ui): update the twitter icon (#1221) 2023-09-10 20:23:34 +08:00
Cotes Chung
806fa3aa1a
refactor: simplify meta info 2023-09-10 20:01:29 +08:00
Cotes Chung
505e314a31
perf: refactor using semantic HTML (#1207)
Fixes #1196
2023-09-08 22:48:37 +08:00
Cotes Chung
41b8f9f519
feat(layout): center the footer 2023-09-07 01:58:03 +08:00
Cotes Chung
62bcd601fc
feat(ui): redesign the pagination button on home page 2023-09-06 00:13:10 +08:00
Cotes Chung
0d4103d47b
perf(core): speed up the Jekyll build times (#1163)
Refactor `_includes/related-posts.html`
2023-08-08 09:09:29 +08:00
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