Commit Graph
100 Commits
Author SHA1 Message Date
Cotes Chung 03e4f575ba build(npm, shell): use the global standard-version 2022-03-13 16:53:13 +08:00
Cotes Chung b58cab1c07 docs: update contributing guidelines 2022-03-13 16:50:12 +08:00
Cotes Chung da05d395fb build(npm): use the global commitlint & husky 2022-03-13 16:47:22 +08:00
Cotes Chung f0a2e2f4e1 chore(gh-actions): resume the trigger branch 2022-03-12 22:29:15 +08:00
Cotes Chung c57238975a docs: update bug report template 2022-03-12 22:27:39 +08:00
Cotes Chung 5607a1755a Merge branch 'feature/update-deps' 2022-03-05 00:09:22 +08:00
Cotes Chung 5a575613bb build: update required ruby version & docs uri 2022-03-04 23:58:13 +08:00
Cotes Chung 00ad357033 ci: update matrix environment 2022-03-04 23:58:13 +08:00
Cotes d2bbcb791f Merge pull request #520 from ZakKemble/fix-script-location-and-url-encode 2022-03-03 21:06:48 +08: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 7fef3fafec Merge branch 'feature/auto-versioning' 2022-03-03 03:11:08 +08:00
Cotes Chung 887859dd32 docs: update contributing guidelines 2022-03-03 02:46:28 +08:00
Cotes Chung 42fe8f5d21 build(shell): update release tool to work with standard-version 2022-03-03 02:46:28 +08:00
Cotes Chung dd264e793c ci(gh-actions): add commitlint for PR 2022-03-01 23:26:07 +08:00
Cotes Chung 004ab6c56a build(deps): add commitlint, husky, and standard-version 2022-03-01 23:26:07 +08:00
Cotes Chung 3969b28743 Bump version to 5.1.0 2022-02-14 23:59:48 +08:00
Cotes Chung 5f31fbcf72 Enhance versioning tools 2022-02-14 23:59:17 +08:00
Cotes Chung 4986db1204 Improve SCSS comment symbols: change // to /* */ 2022-02-14 23:39:50 +08:00
Cotes Chung 508d3c5c6a Update docs 2022-02-14 22:15:38 +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 5753118d8b Keep the original image shadow of the theme
Bootstrap 4.6.x has its own class `.shadow`
2022-02-14 21:41:50 +08:00
Cotes Chung 5295bbf4f9 Merge branch 'feature/expand-prompt' 2022-02-14 21:39:10 +08:00
Cotes Chung cfd05d1aa5 Update prompt related docs 2022-02-14 20:14:39 +08:00
Cotes Chung 6c4d0e0def Rename prompt type note to info 2022-02-14 20:14:39 +08:00
Cotes Chung 15cfa84ddb Add tip type prompt 2022-02-13 03:08:57 +08:00
Cotes Chung 08a993be90 Bypass hidden posts in home page pagination (fix #504) 2022-02-12 06:10:21 +08:00
Cotes Chung 2b66ad0441 Update readme 2022-02-12 06:06:42 +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 09f1ded60c Merge branch 'feature/configurable-assets-cdn' 2022-02-10 04:14:03 +08:00
Cotes Chung 70e089c392 Add introduction to new features 2022-02-10 04:12:35 +08:00
Cotes Chung dc42b6f800 Add assets submodule 2022-02-10 04:12:35 +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 51688ccc9f Correct the branches that triggers gh-action 2022-02-04 06:47:03 +08:00
Cotes Chung 3db6de0abb Update project description 2022-02-04 06:23:09 +08:00
Cotes Chung b27258899b Clear references to deleted folder docs 2022-02-04 06:23:09 +08:00
Cotes Chung cfe9029cd1 Remove unused HTML attribute from sidebar 2022-02-04 06:23:09 +08:00
Cotes Chung 2c5e67f02b Improve the SW cache list 2022-02-04 06:23:09 +08:00
Cotes Chung 7a392510e6 Remove unused include from layouts 2022-02-03 01:04:42 +08:00
Cotes Chung 85fe258b20 Migrate the images from jsDelivr CDN to GitHub
jsDelivr does not allow caching of website images to their CDN!

see: <https://www.jsdelivr.com/terms/acceptable-use-policy-jsdelivr-net#2-hard-limits-and-restrictions>
2022-01-29 01:08:52 +08:00
Cotes Chung 55fd119d35 Fix hover color for links at the tail of posts 2022-01-28 23:48:46 +08:00
Cotes Chung fc36f8b66d Improve the color of prompts 2022-01-28 23:48:46 +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 c3b2151ca0 Simplify the wiki 2022-01-23 04:30:54 +08:00
Cotes Chung 3d8184602b Merge branch 'feature/filepath-code' 2022-01-23 04:04:38 +08:00
Cotes Chung c344926886 Show the filepath style in docs 2022-01-23 03:57:20 +08:00
Cotes Chung 756465d621 Add filepath style for code 2022-01-23 03:49:28 +08:00
Cotes Chung 7b0e9a6803 Merge branch 'feature/prompt-blockquote' 2022-01-23 02:00:48 +08:00
Cotes Chung f043123f23 Introduce the prompts in docs 2022-01-23 01:59:36 +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
Cotes Chung 031e878620 Travis: using the minimal environment when updating starter 2022-01-19 17:22:29 +08:00
Cotes Chung 0890147423 Merge branch 'feature/docs' 2022-01-19 01:27:33 +08:00
Cotes Chung 323a888160 Update docs in real time 2022-01-19 00:30:55 +08:00
Cotes Chung 7788a140f2 Update prerequisites in tutorial (resolve #484) 2022-01-19 00:23:16 +08:00
Cotes Chung 1b379e3870 Improve chapter levels of guide 2022-01-19 00:23:16 +08:00
Cotes Chung 640bde95c4 Fix tutorial on writing posts 2022-01-19 00:23:16 +08:00
Cotes Chung a6c73e8f4f Avoid image caption shifting on load 2022-01-13 01:07:47 +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 22c12a4d34 Merge branch 'feature/improve-topabar-ux-on-mobile' 2022-01-09 19:12:50 +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 dbf86a2309 Merge branch 'hotfix/5.0.2' 2022-01-08 02:44:36 +08:00
Cotes Chung 2d02a6415d Bump version to 5.0.2 2022-01-08 02:44:19 +08:00
Cotes Chung 67bd6679b9 Update travis: deploy only when tagging
The bundler cache is also disabled because the tag name is always changing
2022-01-08 02:43:06 +08:00
Cotes Chung f2a2792405 Fix responsive design of search hints 2022-01-08 02:28:10 +08:00
Cotes Chung 837d0778b6 Avoid preview-image delaying the switching of the top bar title (mobile views)
Use Intersection Observer API to optimize the performance of title switching
2022-01-08 02:28:10 +08:00
Cotes Chung 97ae2bf6c0 Update ReadMe 2022-01-08 01:19:49 +08:00
Cotes Chung e7b377cf63 Prevent the top bar from covering the heading when scrolling down (in mobile views) 2022-01-06 21:46:08 +08:00
Cotes Chung b0815b53c0 Enable smooth scrolling for layout page 2022-01-06 21:46:00 +08:00
Cotes Chung 57a76097d6 Merge branch 'hotfix/5.0.1' 2022-01-05 03:14:38 +08:00
Cotes Chung 22e2367b45 Bump version to 5.0.1 2022-01-05 03:11:24 +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 7337fa5f20 Merge branch 'feature/docs' 2022-01-04 06:49:45 +08:00
Cotes Chung 44acea2f5d Add content to the contributing guidelines 2022-01-04 06:48:41 +08:00
Cotes Chung 65a38c8f22 Simplify the README 2022-01-04 05:20:31 +08:00
Cotes Chung b91b6711b0 Update the tutorial on comments and image attributes 2022-01-04 02:20:58 +08:00
Cotes Chung aeb2d57b60 Bump version to 5.0.0 2022-01-03 00:44:23 +08:00
Cotes Chung 2406ce1dc8 Merge branch 'feature/docs' 2022-01-03 00:42:16 +08:00
Cotes Chung bec9246823 Fix preview image brightness in dark mode 2022-01-03 00:32:57 +08:00
Cotes Chung adaefc02e9 Update docs 2022-01-03 00:17:30 +08:00
Cotes Chung ee7266ff0d Update mockup image 2022-01-03 00:17:30 +08:00
Cotes Chung cad62feb91 Beautify the style of <kbd> (resolve #471) 2022-01-02 16:28:42 +08:00
Cotes Chung b85cb39388 Replace the demo website URL with a permalink 2022-01-02 16:17:32 +08:00
Cotes Chung 4360e2938c Avoid Disqus jitter 2021-12-31 20:49:00 +08:00
Cotes Chung ecf31ff308 Fix the code style of SASS 2021-12-31 00:33:04 +08:00
Cotes Chung 37344ef0df Merge branch 'feature/post-img-path' 2021-12-31 00:09:58 +08:00
Cotes Chung 9e2a4fc8c9 Merge branch 'feature/simplify-html-struct' 2021-12-31 00:09:53 +08:00
Cotes Chung fc71289dc8 Bypass Jekyll build on the gh-pages branch 2021-12-31 00:09:13 +08:00
Cotes Chung c8fd0d728d Clean up the JS log when the post is scrolled(mobile views) 2021-12-31 00:09:09 +08:00
Cotes Chung ef2aa525d5 Add intro for img_path 2021-12-31 00:00:28 +08:00
Cotes Chung 1fe0b2958b Add new variable img_path for posts 2021-12-31 00:00:28 +08:00
Cotes Chung e466a643d5 Merge branch 'feature/multi-comments' 2021-12-30 23:08:09 +08:00
Cotes Chung 3342abc9e6 Refactor the page layout 2021-12-30 00:38:32 +08:00
Cotes Chung a403ffee42 Reduce style class for page layout 2021-12-13 21:09:32 +08:00