Commit Graph
100 Commits
Author SHA1 Message Date
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
Cotes Chung a71659ed27 Fix bump tool 2021-04-12 13:34:01 +08:00
Cotes Chung 826b7dca1a Turn off autocompletion of input form 2021-04-11 14:13:30 +08:00
Cotes Chung d720d0f66c Bump version to 3.3.2
(cherry picked from commit 0b0e493ff0)
2021-04-11 01:39:27 +08:00
Cotes Chung c1b8e28601 Fix links color in search results 2021-04-11 01:18:19 +08:00
Cotes Chung aa54e901b1 Resume the pv cache source & add validation for the number of localStorage keys 2021-04-10 23:36:08 +08:00
Cotes Chung a03149cd40 Reduce PWA storage space 2021-04-10 14:51:04 +08:00
Cotes Chung 588fbbbec7 Stop tracking Gemfile.lock in deployment tool (#306) 2021-04-07 15:15:17 +08:00
Cotes Chung 6341752986 Enhance detection of PV key validity in localStorage 2021-04-07 15:01:23 +08:00
Cotes Chung 11bcd7027d Fix dns links in head 2021-04-06 23:16:02 +08:00
Cotes Chung 4a0242e496 Simplify the PV config options
- Remove options `site.google_analytics.pv.enabled` and `site.google_analytics.pv.proxy_url`
- Rename options `site.google_analytics.pv.cache` to `site.google_analytics.pv.cache_path`
2021-04-06 23:15:36 +08:00
Cotes Chung 48e4c7e6d3 Fix the PV fetching failed when local cache is disabled
also improve the PV report logic
2021-04-06 02:32:53 +08:00
Cotes Chung 991f53f8b2 Unify the text color in the panel 2021-04-06 02:32:53 +08:00
Cotes Chung 7a5ad10bdc Optimize the responsive design for Pad devices 2021-04-06 02:32:53 +08:00
Cotes Chung 3b5441a1c2 Hide scrollbar of sidebar 2021-04-05 18:47:03 +08:00
Cotes Chung a1fca3706f Update credits in README 2021-04-02 22:18:19 +08:00
Cotes Chung 49346fd3c6 Bump version to 3.3.1
(cherry picked from commit 0b043daa34)
2021-04-02 21:15:50 +08:00
Cotes Chung bff97df3b5 Fix the MathJax config was lost in jekyll-compress-html 2021-04-02 21:14:43 +08:00
Cotes Chung dbe4c3d42f Bump version to 3.3.0
(cherry picked from commit 41741dc336)
2021-04-02 16:17:40 +08:00
Cotes Chung fad8a23b87 Update the bump tool 2021-04-02 16:16:31 +08:00
Cotes Chung 834de0f02c Optimize the typo color 2021-04-02 16:10:07 +08:00
Cotes Chung 1ff38722a2 Rename copyright file for JS 2021-04-02 16:02:14 +08:00
Cotes Chung 1c0cd6b6b0 Remove a stale variable from timeago.js 2021-04-02 15:57:36 +08:00
Cotes Chung 4973a61e39 Update ruby setup actions (fix #306)
No longer tracking Gemfile.lock
2021-04-01 04:17:18 +08:00
Cotes Chung 042cec33d8 Update docs
- Remove ToC
- Remove JetBrains logo from readme
- Update funding options
2021-03-28 13:48:49 +08:00
Cotes Chung 8c940dbb96 Fix a code snippet of tutorial 2021-03-23 15:45:21 +08:00
Cotes Chung 9636612755 Fix the cache list on service worker
Adding '/index.html' to the cache storage
2021-03-23 15:42:10 +08:00
Cotes Chung 18f6c6ac4e Fix PWA error caused by service worker store the POST Request as cache key
fix #297, fix #301
2021-03-22 22:38:22 +08:00
Cotes Chung 88aa81dfe5 Revert "Restore the year of first publication in footer"
This reverts commit 338eddb454.
2021-03-20 22:41:35 +08:00
Cotes Chung 1b47c95cf6 Disable configuration option 'site.author' 2021-03-20 22:37:10 +08:00
Cotes Chung d162167580 Support TeX and LaTeX math delimiters (#243) 2021-03-09 15:52:56 +08:00
Cotes Chung 6688e27787 Improve the pattern of issue bot 2021-03-04 21:52:19 +08:00
Cotes Chung 89751c8e9f Bump version to 3.2.2
(cherry picked from commit f78747d841)
2021-03-04 15:04:14 +08:00
Cotes Chung eae506113b Fix the corners of the page navigation buttons of the latest/oldest post 2021-03-04 15:02:06 +08:00
Cotes Chung 3400568b09 Change the bundle cache path on gh-actions
ubuntu-latest changed from 18.04 TLS to 20.04 LTS causes a file path change to the `ffi` gem, invalidating the gh-actions cache file, and causes the build to fail.

See: <https://github.com/ffi/ffi/issues/769>
2021-03-04 15:02:06 +08:00
Cotes Chung d2bb423220 Change the order of post meta & improve timeago 2021-03-03 18:32:06 +08:00
Cotes Chung 8ce8fc780f Improve the bump tool 2021-02-28 05:49:29 +08:00
Cotes Chung ac2ec585f6 Update the sponsor buttons 2021-02-28 05:49:29 +08:00
Cotes Chung 338eddb454 Restore the year of first publication in footer 2021-02-28 05:42:24 +08:00
Cotes Chung 3573ccb7a3 Update the prompt of comments 2021-02-26 00:50:42 +08:00
Cotes Chung 82b3d061af Update the condition of issues intercept 2021-02-22 15:59:08 +08:00
Cotes Chung fc94a8e36b Migration from BMC to Ko-fi 2021-02-22 15:55:54 +08:00
Cotes Chung efc8c60b5d Fix image width in the list (when screen width is 768px) 2021-02-22 14:57:29 +08:00
Cotes Chung 3e79ad6300 Bump version to 3.2.1
(cherry picked from commit 125c23f19b)
2021-02-10 23:50:06 +08:00
Cotes Chung 273f2e152d Restore the copy link button in the post sharing option
Affected version >= 3.0.3, <= 3.2.0
2021-02-10 23:48:26 +08:00
Cotes Chung d0a23c21ee Bump version to 3.2.0
(cherry picked from commit e13187cb1d)
2021-02-10 21:27:18 +08:00
Cotes Chung 89200f3109 Improve the bump tool 2021-02-10 21:15:58 +08:00
Cotes Chung 136773481e Add branches notice to the Docs 2021-02-10 21:15:58 +08:00
Cotes Chung de7d2fab7c Optimize the language badge position in code block 2021-02-10 21:15:58 +08:00
Cotes Chung 1b1fa93cf6 Fix typo in readme & quick-start tutorial 2021-02-06 02:05:19 +08:00
Cotes Chung 7e31ba4103 Improve the width of search results items (fix #276) 2021-02-05 22:13:44 +08:00
Cotes Chung 34b7a80a78 Bump version to 3.1.1 2021-02-05 02:05:55 +08:00
Cotes Chung ba6c7eceec Add a modification to Gemfile.lock in bump tool 2021-02-05 01:55:20 +08:00
Cotes Chung 5669f792a7 Fix search results slow scrolling (#273)
also:
- improve its responsive design
- fix the js path in gulp
2021-02-05 01:24:15 +08:00
Cotes Chung f864b5c324 Hide empty categries/tags in search (#273) 2021-02-05 00:51:50 +08:00
Cotes Chung c8ff81e79a Use regex in site exclusion list 2021-02-04 03:38:04 +08:00
Cotes Chung 2bcaabdab4 Give travis a new job: monitor the starter files 2021-02-04 03:15:20 +08:00
Cotes Chung 4faa595b04 Update dependencies in Gemfile.lock 2021-02-03 02:41:33 +08:00
Cotes Chung d7443aad5d Bump version to 3.1.0 2021-02-03 01:42:10 +08:00
Cotes Chung b2beaa0f4c Update travis settings for release-branches
- drop the deprecated flag `--deployment` of bundle (so we have to specify the bundler caching path)
2021-02-03 00:46:36 +08:00
Cotes Chung 83a7878043 Improved bump tool to fit the release branches 2021-02-02 21:56:17 +08:00
Cotes Chung 94b99350fc Restore the prompt in the page nav button in the latest/oldest articles 2021-02-02 21:56:17 +08:00
Cotes Chung 6dc9cdfa25 Reduce the font size of the Disqus prompt 2021-02-02 21:56:17 +08:00
Cotes Chung fa56ea48c3 Improve docs 2021-02-02 21:56:17 +08:00
Cotes Chung 6c9ab6e5f8 Fix gemfile 2021-02-01 18:03:27 +08:00
Cotes Chung 91da99282d Add lang option to the site config sample 2021-02-01 17:38:50 +08:00
Cotes Chung 413a86277b Generate the breadcrumb by Liquid
also subtracted '/tabs/' from the tabs path
2021-01-31 22:06:10 +08:00
Cotes Chung 1879b94f3d Exclude gem-spec from output 2021-01-30 05:28:33 +08:00
Cotes Chung 7b5f7086b7 Fix post feature image style 2021-01-30 03:12:43 +08:00
Cotes Chung a8b8a379f6 Improve the docs
- Add missing url references in the tutorial
- Add gem version badge in README
2021-01-30 02:00:34 +08:00
Cotes Chung 7a87ab4d05 Bump version to 3.0.3 2021-01-28 23:44:53 +08:00
Cotes Chung c4be7c0cd6 Add more spec meta to gem 2021-01-28 23:39:03 +08:00
Cotes Chung c9765e6923 Merge gem-build & bump tool
Drop the yard doc
2021-01-28 23:17:16 +08:00
Cotes Chung 5c04d4e45b Bypass the jekyll build on source branch 2021-01-28 20:56:23 +08:00
Cotes Chung 4d969ca0c5 Fix toc of readme 2021-01-28 20:56:23 +08:00
Cotes Chung 4a084eb681 Add new tool to build gem 2021-01-28 04:57:11 +08:00
Cotes Chung adc117972a Fix the year of copyright 2021-01-28 03:37:08 +08:00
Cotes Chung 8e84c6b9d6 Improve code style
- js/css
- markdown
- shell
2021-01-28 03:21:58 +08:00
Cotes Chung d8a42d9bb4 Bump version to 3.0.2 2021-01-27 03:41:12 +08:00
Cotes Chung c1b20d8f71 Fix bump tool 2021-01-27 03:40:17 +08:00
Cotes Chung 08ce9f6c7c Fix typo of docs 2021-01-27 03:13:26 +08:00
Cotes Chung 0b4e40bcdf Fix footer links 2021-01-27 02:51:50 +08:00
Cotes Chung 9ae2aee222 Improve the gh-actions CD script 2021-01-26 23:26:03 +08:00
Cotes Chung ec522e5219 Bump version to 3.0.1 2021-01-26 22:28:35 +08:00
Cotes Chung 4ee8f20df2 Meaningless commit
RubyGems doesn't allow re-pushing the yanked version (3.0.0), so we have to bump a new patch version
2021-01-26 22:26:32 +08:00
Cotes Chung 7d7c0da31b Bump version to 3.0.0 2021-01-26 21:40:46 +08:00