Commit Graph
100 Commits
Author SHA1 Message Date
Cotes Chung 1bb54096f4 Improve the UX of clipboard button 2021-09-24 15:13:00 +08:00
Cotes Chung abb548fcee Change the icon & color of the code block header 2021-09-24 15:13:00 +08:00
Cotes Chung ed93fbdfde Covert the language alias on code header 2021-09-24 15:13:00 +08:00
Cotes Chung 4ad0a76789 Add label icon to code snippet header 2021-09-24 15:13:00 +08:00
Cotes Chung 89b76dc2a0 Merge branch 'feature/color-scheme' into develop 2021-09-24 15:09:14 +08:00
Cotes Chung 395b24736a Improve the layout of sidebar icons 2021-09-24 14:54:15 +08:00
Cotes Chung fa0155de6f Lighten the light mode color scheme 2021-09-23 20:39:16 +08:00
Cotes Chung 0bffb276fe Unlock Ruby 3.0 2021-09-22 01:22:32 +08:00
Cotes Chung 2417db656c Add aria label 2021-09-17 18:59:49 +08:00
Cotes Chung e5bf234835 Fix cursor for some buttons & links (fix #411) 2021-09-17 16:58:32 +08:00
Cotes Chung 2dfdb66e0a Refactor clipboard functions 2021-09-17 16:08:00 +08:00
Cotes Chung da9881a47f Merge branch 'hotfix/4.2.1' 2021-09-16 21:01:16 +08:00
Cotes Chung c68a937e01 Improve the bump tool so that it can cherry-pick a merge type commit 2021-09-16 21:00:32 +08:00
Cotes Chung 4001ef7cba Prevent copying code line numbers on Safari 2021-09-16 18:42:50 +08:00
Cotes Chung 1b16b152df Optimize icon position 2021-09-16 17:56:12 +08:00
Cotes Chung e607e5fe86 Restore the copy URL function that was deleted by mistake 2021-09-16 17:55:52 +08:00
Cotes Chung d761d340a8 Bump version to 4.2.0 2021-09-16 01:40:38 +08:00
Cotes Chung f411ba33d8 Fix code style 2021-09-16 01:19:40 +08:00
Cotes Chung f722757f6f Update docs 2021-09-16 01:17:09 +08:00
Cotes Chung beabb36d7f Add custom title to code block 2021-09-16 01:17:09 +08:00
Cotes Chung 42ff0f2282 Merge branch 'feature/improve-code-clipoard' into develop 2021-09-15 18:20:01 +08:00
Cotes Chung 34631a0c30 Update locale settings for code block clipboard (resolve #408) 2021-09-15 15:02:23 +08:00
Cotes Chung 53b0329e5a Improve the clipboard UX 2021-09-15 14:57:59 +08:00
Cotes Chung 2877896b9e Merge branch 'feature/improve-disqus' into develop 2021-09-14 20:47:01 +08:00
Cotes Chung 7ef88c8b8f Auto switch Disqus theme 2021-09-14 20:45:17 +08:00
Cotes Chung 2acf14ecf0 Replace Disqus lazy loading plugin with native JS 2021-09-14 20:45:17 +08:00
Cotes Chung 603705f20e Merge branch 'feature/beautify-scrollbar' into develop 2021-09-14 20:40:44 +08:00
Cotes Chung 0267ad8d40 Move sass variables 2021-09-14 20:40:16 +08:00
Cotes Chung c0b8c089c2 Custom the scrollbar on Webkit browsers
the default scrollbar on Windows looks like shit
2021-09-14 16:47:11 +08:00
Cotes Chung a603aac8e8 Merge branch 'feature/hide-lineno-of-code-block' into develop 2021-09-14 15:53:04 +08:00
Cotes Chung 91ed3d4649 Hide line number of some posts 2021-09-13 22:36:01 +08:00
Cotes Chung 20454e5a57 Add the feature of hiding line numbers 2021-09-13 22:26:17 +08:00
Cotes Chung aadda0347c Merge branch 'feature/copy-snippet' (resolve #396, close #400) 2021-09-11 00:42:47 +08:00
Cotes Chung 5e9a7b319e Add clipboard JS 2021-09-11 00:30:21 +08:00
Cotes Chung 2537283beb Add clipboard button to code block 2021-09-11 00:30:21 +08:00
Cotes Chung 7dc7a7efc8 Add code block header 2021-09-11 00:30:21 +08:00
Cotes Chung 39b09b97c0 Merge branch 'feature/full-text-search' into develop 2021-09-04 21:24:37 +08:00
Cotes Chung 8d164c2e6e Enable full-text search (fix #401) 2021-09-04 21:23:43 +08:00
Cotes Chung 1a94b1889f Upgrade simple-jekyll-search from 1.7.3 to 1.10.0 2021-09-04 21:23:09 +08:00
Cotes Chung 6d07d4738b Remove margin between list items 2021-08-26 21:10:57 +08:00
Cotes Chung 6e0afcf9e8 Improve recognition of CJK 2021-08-26 01:26:16 +08:00
Cotes Chung 952927762a Run travis build only when tagging 2021-08-10 19:47:14 +08:00
Cotes Chung 3c3598e8b1 Reduce SASS compressed blank lines 2021-08-09 19:39:43 +08:00
Cotes Chung 9d9bca5e3b Improve the bump tool 2021-08-09 13:17:40 +08:00
Cotes Chung 03248f5bff Update comments for locales 2021-08-09 12:50:49 +08:00
Cotes Chung e2c288a925 Add not results prompt in zh-CN 2021-08-09 12:49:59 +08:00
Cotes Chung 72ba1f7849 Fix tabs & improve topbar items 2021-08-03 22:55:35 +08:00
Cotes Chung 0213331a16 Improve the way to set the default value of locales 2021-08-01 22:04:11 +08:00
Cotes Chung 780af9ac5f Remove unused variable on HTML & JS 2021-08-01 21:49:44 +08:00
Cotes Chung b513c0764d Update some locales value 2021-07-30 15:55:59 +08:00
Cotes Chung 57e8c6e594 Drop site config options content_lang & outdated 2021-07-30 15:55:59 +08:00
Cotes Chung 49dc866bd8 Fix docs 2021-07-22 01:30:26 +08:00
Cotes Chung b7a483680e Bump version to 4.1.0 2021-07-22 00:51:20 +08:00
Cotes Chung 7ecb377c9b Update docs 2021-07-22 00:14:08 +08:00
Cotes Chung a83e4c1b30 Optimize JS loading priority 2021-07-21 23:50:16 +08:00
Cotes Chung 0b29c0321f Add layout localization 2021-07-21 23:50:16 +08:00
Cotes Chung 2e76300d04 Revert "Delete useless SCSS snippets"
This reverts commit ab8cef9174.
2021-07-21 01:00:05 +08:00
Cotes Chung 20f2ff4b23 Update bot's reply message 2021-07-20 02:51:46 +08:00
Cotes Chung 899609a291 Switch to another issue bot 2021-07-20 02:26:03 +08:00
Cotes Chung f56852a700 Fix breadcrumb for pagination 2021-07-20 02:08:28 +08:00
Cotes Chung c969eaa040 Recover the missing image link identifier class 2021-07-20 02:08:28 +08:00
Cotes Chung ab8cef9174 Delete useless SCSS snippets 2021-07-19 17:53:44 +08:00
Cotes Chung b3ff6c79a6 Ignore the variables hook in the site file 2021-07-17 13:26:29 +08:00
Cotes Chung 7f8c19d480 Improve the code style on shell scripts
Double quote to prevent globbing and word splitting.
2021-07-11 17:26:49 +08:00
Cotes Chung d52fa88337 Prevent the post date from shifting when loading 2021-07-11 17:04:13 +08:00
Cotes Chung bea170cff0 Add fade in effect for lazy-loaded images 2021-07-11 15:05:18 +08:00
Cotes Chung 961ebb545b Set the dollar sign of code snippets to non-selectable 2021-07-08 21:19:33 +08:00
Cotes Chung 797450174d Dynamically detect the sass variables hook 2021-07-07 03:00:13 +08:00
Cotes Chung c98a41317f Add a hook for custom variables (fix #355) 2021-07-04 23:24:30 +08:00
Cotes Chung 5f1e6e9350 Create the code language badge by Liquid
It prevents the language badges from flashing
2021-07-04 22:02:52 +08:00
Cotes Chung 65dbea9d3b Prevent image caption shifting
Before the image tag modified by JS, the caption will shift
2021-07-03 05:11:11 +08:00
Cotes Chung fd97067ec3 Optimize the JS loading priorities 2021-07-03 05:11:11 +08:00
Cotes Chung d5413a954f Update posts
- Set width and height for images
- Update the related tutorial
2021-07-03 05:11:11 +08:00
Cotes Chung 9359d6ef11 Ignore image links in html-proofer test 2021-07-02 17:14:40 +08:00
Cotes Chung 6d1d440c00 Preventing image reflow (fix #351) 2021-07-02 17:14:40 +08:00
Cotes Chung 08ec6cd3b5 Simplify the gitlab flow history 2021-06-24 21:30:05 +08:00
Cotes Chung 3ecb59deb1 Bump version to 4.0.2
(cherry picked from commit a6d4db251f)
2021-06-23 23:02:55 +08:00
Cotes Chung 885ed44646 Lock the ruby version number (#245, #247, #344)
Since version 3.0, Ruby has no `webrick` that Jekyll (<= 4.2) needs
2021-06-23 23:00:46 +08:00
Cotes Chung d31e677ca0 Fix git-ignore list (#343) 2021-06-04 19:43:45 +08:00
Cotes Chung ab927e9954 Improve sidebar cursor position calculation (fix #338) 2021-05-27 01:05:01 +08:00
Cotes Chung d5e08b05ab Remove PR filter from workflow
GitHub does not allow to run workflows on PR from first-time contributors.
see: <https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks>
2021-05-19 13:50:19 +08:00
Cotes Chung eb247b8886 Improve the paginator design for the mobile screens (#331) 2021-05-19 11:09:52 +08:00
Cotes Chung 4fa7c6af6e Bump version to 4.0.1
(cherry picked from commit b887c439c6)
2021-05-08 03:26:04 +08:00
Cotes Chung 2cce0be8af Add the missing files to the gem 2021-05-08 03:19:13 +08:00
Cotes Chung cf7d8a45ba Bump version to 4.0.0
(cherry picked from commit db82f71515)
2021-04-30 14:10:24 +08:00
Cotes Chung 6d254af55f Simplify the favicons 2021-04-29 19:58:37 +08:00
Cotes Chung a4dc39f70e Center the mermaid SVG 2021-04-24 16:32:56 +08:00
Cotes Chung 84bb4d0c4b Add image popup effect 2021-04-24 16:32:56 +08:00
Cotes Chung e8296fe2e4 Improve the site config 2021-04-20 04:34:11 +08:00
Cotes Chung 6a45d7ccd1 Remove SRI of bootstrap and font-awesome css
Sometimes it causes the fetch event to fail after the PWA cache key is updated:

```
The FetchEvent for "<url_from_CDN>" resulted in a network error response: an "opaque" response was used for a request whose type is not no-cors
```
2021-04-20 04:22:28 +08:00
Cotes Chung 5df67616be Fix the grammar and typo of the docs 2021-04-20 04:22:28 +08:00
Cotes Chung f0ce5ceb71 Fix tabs url for service worker 2021-04-20 04:22:28 +08:00
Cotes Chung a9acaa669d Reduce the external files required for gem installation 2021-04-20 04:22:28 +08:00
Cotes Chung 72e8ffafa6 Exclude JS source code from the output 2021-04-20 04:22:28 +08:00
Cotes Chung 52f4012463 Fix custom author name in RSS template 2021-04-18 03:21:55 +08:00
Cotes Chung d5407181a4 Add shadow effect option for images 2021-04-18 03:15:11 +08:00
Cotes Chung 4ed6988be3 Globally mark out image links 2021-04-17 15:00:21 +08:00
Cotes Chung 3f2d400f16 Improve the selector for lazy loading images (fix #313)
When `page.dynamic_title` is set to false, the image will not be loaded
2021-04-13 23:29:24 +08:00
Cotes Chung e84331b26a Fix the response stream of service worker
After service worker update (rebuild the site), the following error will occasionally appear:

```
The FetchEvent for "<url_from_CDN>" resulted in a network error response: an "opaque" response was used for a request whose type is not no-cors
```

This commit ensures that the response object has been cached before being returned.
2021-04-13 16:51:49 +08:00
Cotes Chung efd8d44b12 Improve the UI design
- Optimize the text color in light mode
- Stop iOS Safari input field zooming
- Uniform font size for posts
2021-04-13 16:51:49 +08:00