Commit Graph
100 Commits
Author SHA1 Message Date
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 414b8f97ce refactor(ui): optimize the color scheme 2023-09-05 00:34:35 +08:00
Cotes Chung 229c2a2e2b feat(posts): render heading 4 in TOC (#1023) 2023-09-03 20:20:14 +08:00
Cotes Chung c4af75389a refactor: rename sass files 2023-09-03 20:13:00 +08:00
Cotes Chung 4f86b04a84 perf(ui): improve code snippet design
- Apply the new syntax color themes
- Center the text in the code snippet header
- Maintaining space to the left of a 3-digit line number or more
2023-09-03 20:13:00 +08:00
Cotes Chung 2a5c184373 refactor(core): remove redundant config options
`node_modules` is already part of the default exclusions.

See also: <https://jekyllrb.com/docs/configuration/options/#global-configuration>
2023-09-03 20:12:27 +08:00
Cotes Chung 7b43a83c40 refactor: move project files to docs folder 2023-08-19 12:55:24 +08:00
Cotes Chung f659109de2 chore: update security support versions 2023-08-19 12:39:57 +08:00
Cotes Chung b39c6b526c chore: route question to GitHub Discussions 2023-08-17 06:51:57 +08:00
Cotes Chung 7819fd0843 docs: enrich and improve the Contributing Guidelines 2023-08-14 11:06:37 +08:00
Cotes Chung ba397a21aa docs: fix the badge links on README and improve the content 2023-08-14 08:51:15 +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 e8ef69ad17 chore(release): 6.1.0 2023-07-02 21:01:52 +08:00
Cotes Chung 2eb4267cdd build(release): remove extra blank lines in changelog 2023-07-02 21:01:52 +08:00
Cotes Chung e07e6d46d7 refactor: revert media query range notation (#1072)
Media queries range syntax not supported by Safari for iOS under 16.4

See also:
- https://caniuse.com/?search=media-queries

This reverts commit 1682ce9d7c.
2023-07-02 20:16:36 +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 b0f4ae5eec chore(gh-actions): fix stale bot exempt condition 2023-06-28 20:16:20 +08:00
Cotes Chung 926d1ca068 docs: update tutorial & readme (#1110)
- update feature list in README
- add screenshots to tutorial
2023-06-27 00:39:42 +08:00
Cotes Chung df8ff546ec fix: the cached image is covered by shimmer (#1100) 2023-06-26 23:59:59 +08:00
Cotes Chung c075e11a4e Revert "fix: shimmer has the potential to cover images (#1100)"
This reverts commit 74ab6f8adc.
2023-06-26 21:54:20 +08:00
Cotes Chung 74ab6f8adc fix: shimmer has the potential to cover images (#1100)
Resolves #1100
2023-06-24 21:23:30 +08:00
Cotes ChungandJake Kerr 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 fa3257873e build: replace the stale app with gh-actions
The stale app is deprecated and  no longer maintained
2023-06-08 00:46:37 +08:00
Cotes Chung 1682ce9d7c style(scss): fix style-lint media-feature-range-notation issue (#1072)
See also: https://stylelint.io/user-guide/rules/media-feature-range-notation/
2023-06-04 12:29:33 +08:00
Cotes Chung 29a8bc26bc chore(deps): upgrade major version of npm packages
packages:
- rimraf
- stylelint-config-standard-scss
2023-06-04 12:21:16 +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 728094d1ba perf(ui): improve hover color of sidebar nav items in light mode 2023-06-04 09:36:32 +08:00
Cotes Chung ce2f6f5abe perf(ui): avoid blank space at the bottom of the homepage preview image
When the title of the post has a line break, there will be a blank space at the bottom of the preview image.
2023-06-04 09:36:32 +08:00
Cotes Chung c4da99c7ea fix(webfont): resume semi-bold of font family Source Sans Pro
font-weight 700
2023-06-04 09:36:29 +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 f6bf6d0864 refactor: improve JS/HTML for button back2top (#1054)
The current "back to top" button is built by `<a>` tag, it would be more appropriate to replace it with the `<button>` tag.
2023-05-20 01:07:18 +08:00
Cotes Chung bef2ac085e Merge branch 'hotfix/6.0.1' 2023-05-20 00:37:38 +08:00
Cotes Chung 066c1cd039 chore(release): 6.0.1 2023-05-20 00:37:34 +08:00
Cotes Chung 98850e1e5d chore(build): tag on production branch instead of master (#1052) 2023-05-20 00:35:11 +08:00
Cotes Chung 83eecdabcb refactor: remove dead SCSS code (#1053) 2023-05-20 00:34:49 +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 aba9468b53 fix(home): preview image missing [alt] and img_path (#1044)
Close #1044
2023-05-18 10:46:15 +08:00
Cotes Chung de6ec65932 Merge branch 'master' into production 2023-05-17 03:02:22 +08:00
Cotes Chung c5f15a3af8 chore(release): 6.0.0 2023-05-17 03:02:20 +08:00
Cotes Chung 12ce8f9fa9 chore(i18n): remove outdated items 2023-05-17 03:01:51 +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 b3c4d741b2 refactor(img): disable transition effect in popup images 2023-05-13 08:17:41 +08:00
Cotes Chung 129c4b3fa6 docs: update tutorial & demo content 2023-05-13 07:48:57 +08:00
Cotes Chung fe18011f8a Merge branch 'feature/v6-core' 2023-05-13 07:15:47 +08:00
Cotes Chung 25ec7649cd chore(deps): upgrade the version of depdencies (#953, #994)
Resolves #953, #994
2023-05-13 07:13:16 +08:00
Cotes Chung ea6268d7a5 chore(ci): upgrade commit-lint actions 2023-05-13 07:03:16 +08:00
Cotes Chung 1967de1f1d refactor(js): reduce function complexity 2023-05-13 07:03:15 +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 016a9baddd Merge branch 'feature/v6-ui' (#1034)
The UI of the next major version
2023-05-13 02:25:05 +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 83f1c34f92 feat(ui): improve the design for top bar 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 0c80552d77 perf(ui): mute the marker in lists 2023-05-13 02:05:32 +08:00
Cotes Chung e38309f3bd perf(ui): improve inline code in light mode 2023-05-13 02:05:32 +08:00
Cotes Chung 8cbbcfa26d perf(ui): improve the color of prompts in dark mode 2023-05-13 02:05:32 +08:00
Cotes Chung 003e7b60c9 perf(ux): improve LQIP fade in effect 2023-05-13 02:05:32 +08:00
Cotes Chung 7c23a4ebc5 perf(ui): lighten the link color in light-mode 2023-05-13 02:05:32 +08:00
Cotes Chung 2a4d67d65c refactor: uniform block border radius
scope:
- categories
- posts (prompt, code snippets)
2023-05-13 02:05:32 +08:00
Cotes Chung 414dd132ae perf(ui): improve categories color in dark mode 2023-05-13 02:05:32 +08:00
Cotes Chung f0266c1f78 refactor(scss): update vendor prefix 2023-05-13 02:05:31 +08:00
Cotes Chung 7626e4d005 perf(ui): improve hover effect for post preview cards
- home cards
- navigator buttons at the bottom post
2023-05-13 02:05:31 +08:00
Cotes Chung 34499f0c92 perf(ui): improve hover effect of trending tags 2023-05-13 02:05:31 +08:00
Cotes Chung aadf9393d5 perf(ui): uniform the muted text color 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
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
Cotes e90461aa3c perf(tools): avoid initialization interruption in single branch forks (#992) 2023-04-17 02:40:25 +08:00
Cotes 6f6e309741 chore(github): simplify PR template (#991) 2023-04-17 02:34:13 +08:00
Cotes Chung b63b65d743 chore(stylelint): optimize the rule for font-family variables (#987)
Turn off the rule `value-keyword-case` for `font-family`

Resolves #987
2023-04-16 09:08:54 +08:00
Cotes Chung 39b81aa4e0 docs: update issue template (#958)
Close #958
2023-03-31 21:44:22 +08:00
Cotes Chung 387f0ec64a Merge branch 'master' into production 2023-03-31 05:46:37 +08:00
Cotes Chung c45f399e65 chore(release): 5.6.1 2023-03-31 05:46:34 +08:00
Cotes Chung 8225174cb5 fix(deps): tocbot has no initialization detection (#957)
Resolves #957
2023-03-31 05:05:33 +08:00
Cotes Chung 8b4f99c87f fix: pageviews not updated immediately 2023-03-31 04:58:21 +08:00
Cotes Chung 6f97636fb9 chore(build): set rollup watching path 2023-03-31 04:55:43 +08:00
Cotes Chung bf199d779c chore(deps): upgrade npm packages 2023-03-31 04:55:43 +08:00
Cotes Chung 61d9c2247c Merge branch 'master' into production 2023-03-18 02:08:00 +08:00
Cotes Chung 0d9cec6abc chore(release): 5.6.0 2023-03-18 02:07:58 +08:00
Cotes Chung 6e6b6479f5 docs: migrate upgrade details to the wiki 2023-03-18 02:07:14 +08:00
Cotes Chung 388efb1ae3 chore(tools): add JS dist to gem release 2023-03-18 02:03:16 +08:00
Cotes Chung 471e8c4018 chore(tools): resume git checkout in initialization 2023-03-18 01:49:34 +08:00
Cotes Chung 3cd81e7128 chore: recover accidentally deleted LQIP style 2023-03-18 01:49:34 +08:00
Cotes Chung b85f6330de feat(ux): turn home page posts into clickable cards (#895)
Resolves #895
2023-03-18 01:49:34 +08:00
Cotes Chung 111b82838d style: fix scss lint issue
type: declaration-block-no-redundant-longhand-properties
2023-03-18 00:29:01 +08:00
Cotes Chung e8e4901e34 fix: some console snippets will be incompletely copied
Sample:

```console
echo $PATH
```
2023-03-17 06:39:38 +08:00
Cotes Chung d96b8811a7 refactor: remove version number from self host config 2023-03-17 05:52:32 +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 3c7934abf0 style: improve code style of SCSS & YAML 2023-03-16 03:36:52 +08:00
Cotes Chung 02b7bd5095 feat: change TOC plugin to tocbot (#774) 2023-03-16 03:00:29 +08:00
Cotes Chung 016399a6db Merge branch 'feature/esm' 2023-03-15 22:01:29 +08:00