Commit Graph
100 Commits
Author SHA1 Message Date
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
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