Commit Graph
100 Commits
Author SHA1 Message Date
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
Cotes Chung d315bf57e7 Integrate utterances comments 2021-12-13 04:40:05 +08:00
Cotes Chung 75176522e3 Prepare for multiple comment systems 2021-12-13 03:34:46 +08:00
Cotes Chung ebb3dc940c Merge branch 'feature/refactor-theme-mode-switch' 2021-12-13 03:33:32 +08:00
Cotes Chung c02c9c6a04 Decouple theme-mode toggle & mermaid 2021-12-13 03:33:01 +08:00
Cotes Chung 3a4316b29b Merge branch 'feature/fix-img-param-abbr' 2021-12-13 02:39:44 +08:00
Cotes Chung f4b2dfe8b4 Fix the conversion of image width/height abbreviation 2021-12-12 00:38:49 +08:00
Cotes Chung 09e8eb4274 Make the preview image full screen width on mobile 2021-12-10 21:54:24 +08:00
Cotes Chung 5ca0966c41 Merge branch 'feature/improve-heading-ux' 2021-12-10 21:54:11 +08:00
Cotes Chung d919f833f1 Show heading anchor on touch devices 2021-12-10 00:28:50 +08:00
Cotes Chung df81012e28 Always close the top bar when smooth scrolling 2021-12-10 00:28:50 +08:00
Cotes Chung 09742d40dd Prevent the anchor of the heading from being awakened early 2021-12-09 18:52:02 +08:00
Cotes Chung 259d0deabc Merge branch 'feature/improve-audits' 2021-12-07 23:21:47 +08:00
Cotes Chung cf6c8e9b3a Improve accessibility of panel heading elements 2021-12-07 23:09:00 +08:00
Cotes Chung c64e587335 Improve SEO & accessibility on mode toggle element 2021-12-07 23:09:00 +08:00
Cotes Chung 415f11ecb8 Escape characters of post list (homepage and related posts)
To pass the html-proofer test
2021-12-07 16:40:19 +08:00
Cotes Chung 5dc830d11e Merge branch 'feature/add-heading-anchors' 2021-12-07 16:28:19 +08:00
Cotes Chung 7579644e8d Make the anchor scroll position more precise 2021-12-07 16:26:26 +08:00
Cotes Chung 4cff83268b Reduce refactor scope 2021-12-07 16:26:26 +08:00
Cotes Chung 1487ae5284 Add style for heading anchor 2021-12-07 16:26:26 +08:00
Cotes Chung 697c584b48 Merge branch 'feature/fix-pannel-toc' 2021-12-07 15:00:07 +08:00
Cotes Chung 089a19bc9e Merge branch 'feature/support-image-parameter-abbreviation' 2021-12-07 14:59:11 +08:00
Cotes Chung 007d242e87 Fix ToC incorrectly display the contents of the panel
Bug introduced in the commit `b518c9d`
2021-12-07 14:53:48 +08:00
Cotes Chung 6447ffaf59 Add new feature intro to docs 2021-12-07 01:04:13 +08:00
Cotes Chung 790cf30376 Add abbreviation support for image width/height 2021-12-07 01:04:13 +08:00
Cotes Chung 45adf4aac2 Create anchor for headings 2021-12-06 03:04:50 +08:00
Cotes Chung b1377ac694 Improve heading font-size & layout 2021-12-05 23:44:04 +08:00
Cotes Chung cf8dae9454 Merge branch 'feature/improve-meta-display'
# Conflicts:
#	_sass/addon/commons.scss
2021-12-05 17:46:14 +08:00
Cotes Chung 9f5e579596 Merge branch 'feature/use-default-scrollbar' 2021-12-05 16:42:43 +08:00
Cotes Chung 99e468cae5 Merge branch 'feature/improve-post-design' 2021-12-05 16:42:38 +08:00
Cotes Chung 4fde37e879 Merge branch 'feature/switch-funding' 2021-12-05 16:35:00 +08:00
Cotes Chung 19debc4add Switch donation method from BMC to Kofi 2021-12-05 16:29:46 +08:00
Cotes Chung afcf0bde22 Refactor footer style 2021-12-05 04:42:53 +08:00
Cotes Chung 36f55f091d Add content to the tutorial 2021-12-05 04:42:53 +08:00
Cotes Chung e2003f2b03 Add a link to the author of the post 2021-12-05 04:42:53 +08:00
Cotes Chung 563e8085e8 Redesign the post meta layout
- posted date
- updated date
- read time
- license statement of post bottom
- also refactor the `timeago.js`
2021-12-05 04:42:53 +08:00
Cotes Chung 902546cf4d Remove unused style for mode-toggle 2021-12-03 21:23:37 +08:00
Cotes Chung e06d237eae Use the default scroll bar
And make the Chrome scroll bar on Windows support dark mode
2021-12-03 21:23:37 +08:00
Cotes Chung 6220d09ffb Replace the pageviews with categories on home page 2021-12-03 21:03:31 +08:00
Cotes Chung 3c91dc1f6f Move the preview image of the post to the top 2021-12-03 16:36:40 +08:00
Cotes Chung 6a65f3a7f7 New design for code snippet header 2021-12-03 16:34:26 +08:00