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
Sukka
75a3d7399b
refactor: replace polyfill.io
for cdnjs
hosted link ( #1598 )
2024-03-08 04:05:58 +08:00
Cotes Chung
19d6bafbe1
fix: correct the base URL parameter name ( #1576 )
...
#1553 introduced
2024-03-01 02:50:10 +08:00
Cotes Chung
89b962557a
fix: correct the generation of relative resource paths ( #1553 )
2024-02-23 03:07:17 +08:00
Cotes Chung
6b34901d94
refactor(pwa): revert to JS and Liquid mixing
...
The gem package won't be able to pass `/sw.min.js` to the user end
2024-02-13 23:35:32 +08:00
Benjamin van den Hout
90693ff95e
feat: add analytics support for GoatCounter ( #1526 )
2024-02-06 22:19:28 +08:00
Piotr Held
c13ec31163
perf: enable equation numbering in MathJax ( #1520 )
...
If you place your equations inside $$\begin{equation}...\end{equation}$$
you will get MathJax equation numbering. As described here:
https://docs.mathjax.org/en/latest/input/tex/eqnumbers.html
BREAKING CHANGES: if you used \begin{equation} inside $$ you will
get equation numbering which was not previously present.
2024-01-31 03:44:19 +08:00
bigsk1
74f16623c9
fix: correct the Twitter Card in social share preview ( #1498 )
...
---------
Co-authored-by: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
2024-01-28 05:53:54 +08:00
Cotes Chung
1127c43823
feat: add pwa.cache.*
option to precisely control caching ( #1501 )
2024-01-28 02:22:33 +08:00
Cotes Chung
02e296ed75
fix: missing "/" at the end of URLs for categories and tags in breadcrumb ( #1495 )
2024-01-19 06:19:20 +08:00
Cotes Chung
4facf5b390
perf: allow no social links to be configured ( #1494 )
2024-01-19 05:48:26 +08:00
Cotes Chung
b2d1cb68db
fix: og:image
URL is incorrect ( #1468 )
...
Introduced by #1463
2024-01-11 02:11:25 +08:00
Cotes Chung
241bb4df78
feat: add site-wide social preview image settings ( #1463 )
...
- Add configuration field `social_preview_image` that sets the site-wide default social preview image.
For pages that do not have `page.image` set in font matter, the seo tag will use the image specified by `site.social_preview_image` as the Open Graph image.
- Refactored the generation of image URLs to reduce redundant code and enhance fault tolerance for missing or repeated slash `/` when defining image paths.
2024-01-10 09:04:27 +08:00
Cotes Chung
82d8f2db98
perf: include the latest posts in the "Recently Updated" list ( #1456 )
...
Improve the "Recently Updated" list to include the most recent (only one Git commit) posts.
This change has two benefits:
1. The post update list is consistent with the git commit timeline.
2. Avoid users not having a list of updates to show when they first publish a site.
2024-01-08 05:13:56 +08:00
Mill Haruto
4a2b89d0b6
feat: add bilibili embed video support ( #1406 )
...
---------
Co-authored-by: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
2023-12-09 21:48:19 +08:00
Cotes Chung
06f1c6f256
refactor: align the position of the share buttons
2023-11-08 01:16:00 +08:00
Natalie Somersall
2bf87e0de7
feat: add Mastodon sharing link ( #1344 )
...
Adds a "share to Mastodon" button as a link sharing option using @justinribeiro's share-to-mastodon package
Discussion of proposed change - #1324
---------
Co-authored-by: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
2023-10-30 02:02:58 +08:00
Cotes Chung
9f174d9088
fix: resume lazy loading for Twitch videos ( #1326 )
...
The property of lazy load is missing in #1267
2023-10-16 05:20:42 +08:00
Cotes Chung
50835b4c71
refactor: optimize meta font size
2023-10-08 04:40:16 +08:00
Cotes Chung
0e2d593b00
chore: always use dynamic polyfill
for browsers
2023-10-04 19:01:48 +08:00
Cotes Chung
2bc3172444
refactor: optimize LQIP loading
...
- add blur effect for external WebP format LQIP
- remove the timeout delay
2023-10-04 18:15:22 +08:00
Cotes Chung
f49155f034
chore(post): restore margin at the bottom of TOC
2023-09-29 05:36:01 +08:00
Cotes Chung
e3b01636ac
refactor(core): optimize image loading
...
- JavaScript runs so fast that LQIP will never be detected
- Increase the running priority of image processing in posts
Enhancement for #1267
2023-09-29 05:07:03 +08:00
Cotes Chung
bf3a34d054
perf(core): replace lazysizes
with browser-level lazy loading ( #1267 )
2023-09-27 04:44:32 +08:00
Cotes Chung
5015fdecf3
style(core): avoid using <
or >
within capture
tag
...
This interferes with the work of the editor Liquid-HTML plugin
2023-09-25 01:49:20 +08:00
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