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
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
Cotes Chung
b405a58838
refactor: make sure there is space at the bottom of core block
2022-08-09 16:43:01 +08:00
Nihil
3fa1bf3054
fix: code contains spaces in headings ( #644 )
2022-07-23 19:10:20 +08:00
Cotes Chung
fd0f983bbe
chore: optimize the layout of main content and search input
2022-06-09 03:46:47 +08:00
Cotes Chung
5d6e8c5ef6
perf: improve the responsive design for ultrawide screens ( #540 )
...
Resolves #540
2022-06-08 16:15:38 +08:00
Cotes Chung
106c981bac
feat: add option to turn off PWA ( #527 )
2022-06-05 00:10:20 +08:00
bibi2233
54124d5134
fix: assets URL is missing baseurl
in self-hosted mode ( #591 )
2022-06-02 20:55:34 +08:00
Cotes Chung
6d35f5f8da
perf: avoid the layout shift for post datetime
2022-04-26 04:55:37 +08:00
Zak Kemble
59e955745f
fix: spurious header closing tags
...
`right` already contains the closing tag
2022-04-14 16:50:13 +01:00
Zak Kemble
4f590e2bba
fix: p is not allowed in span
2022-04-14 16:50:13 +01:00
Zak Kemble
6900d9f2bc
fix: follow paginate_path config for pagination
...
Using "paginate_path: /page/:num/" to generate "/page/2/" paths would still generate invalid
pagination links to "/page2/"
2022-04-14 16:50:13 +01:00
Zak Kemble
58928dbc90
fix: alt is not a valid attribute for 'a' tag
2022-03-27 18:01:24 +01:00
Cotes Chung
0542b5149c
fix: remove whitespace from avatar URL ( #537 )
...
Fix #537
2022-03-22 21:13:39 +08:00
Cotes Chung
e68108014a
style: add indentation
2022-03-22 21:13:39 +08:00
Cotes Chung
9cefe58993
fix: when the site.img_cdn
is set to the local path, the preview-image path loses the baseurl
2022-03-16 22:17:19 +08:00
Cotes Chung
b8d1bcd3de
fix: resume the preview image SEO tag ( #529 )
...
Fix #529
2022-03-16 22:17:19 +08:00
Zak Kemble
4c1c8d8b0e
fix: correctly URL encode share links
...
Relates to #496
2022-03-03 12:55:27 +00:00
Zak Kemble
2103191b2f
fix: script code should be in head or body, not in between
2022-03-03 12:54:44 +00:00
Cotes Chung
5d85ccb994
fix: table bypass refactoring when it contains IAL ( #519 )
...
Fix #519
2022-03-03 18:05:48 +08:00
Cotes Chung
35e013f7fd
Adapt the search input to Bootstrap 4.6
2022-02-14 22:15:38 +08:00
Cotes Chung
e52dc9551c
Beautify heading style (margin, anchor)
2022-02-14 22:15:38 +08:00
Cotes Chung
0f6b170e24
Use constants to define resources for utterances
...
Self-host the JS for `utterances` is not necessary, because the list of comments cannot be loaded if the network is offline.
2022-02-12 05:47:48 +08:00
Cotes Chung
4df4f7f8db
Add Giscus comments support ( resolve #501 )
2022-02-12 05:47:48 +08:00
Cotes Chung
3685685b28
Make the source of the static assets configurable
...
- Easy to switch between different CDN
- Allow self-host static assets
2022-02-10 04:12:35 +08:00
Cotes Chung
cfe9029cd1
Remove unused HTML attribute from sidebar
2022-02-04 06:23:09 +08:00
Cotes Chung
a5d38e7fbc
Improve local datetime display
...
- Protect author's location privacy
- Reduce locale configuration parameters
2022-01-28 23:45:29 +08:00
Cotes Chung
a24545ed60
Prevent relative time conversion failure on Safari
2022-01-25 01:18:25 +08:00
Cotes Chung
66e655f09b
Escape the post sharing URL ( fix #496 )
2022-01-23 05:11:14 +08:00
Cotes Chung
ca181422a6
Add blockquote prompts ( resolve #489 )
2022-01-23 01:59:36 +08:00
Cotes Chung
4845f6ef14
Fix attribute name of share URL button
2022-01-19 17:54:50 +08:00
Tamme Schichler
4a2016a9e3
Don't include Google Analytics scripts without analytics id ( #482 )
2022-01-14 19:03:16 +08:00
Cotes Chung
f8f4dd889e
Normalized attribute name in HTML
...
Add prefix `data-` for following attributes:
- `topbar-visible`
- `mode`
- `label-text`
- `title-succeed`
2022-01-13 00:23:08 +08:00
Cotes Chung
96e7cd79af
Avoid whitespace before anchors when wrapping
2022-01-12 22:51:38 +08:00
Cotes Chung
2cef631385
Hide topbar when mobile orientation in landscape mode ( resolve #459 )
2022-01-09 19:09:29 +08:00
Cotes Chung
9620eddd12
Simplify the top-bar title detect process
2022-01-08 02:57:16 +08:00
Cotes Chung
b44bf78f10
Improve the creation of header anchors ( fix #474 )
2022-01-05 02:36:07 +08:00
Cotes Chung
948356d7d6
Fix <img>
HTML element refactoring issue ( resolve #476 , close #477 )
2022-01-05 02:36:07 +08:00
Cotes Chung
37344ef0df
Merge branch 'feature/post-img-path'
2021-12-31 00:09:58 +08:00
Cotes Chung
1fe0b2958b
Add new variable img_path
for posts
2021-12-31 00:00:28 +08:00