Commit Graph

209 Commits

Author SHA1 Message Date
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 697c584b48 Merge branch 'feature/fix-pannel-toc' 2021-12-07 15:00:07 +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 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 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 afcf0bde22 Refactor footer style 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 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 6a65f3a7f7 New design for code snippet header 2021-12-03 16:34:26 +08:00
Cotes Chung 3caacbee61 Improve mobile title display
Also fixed the 404 page title on mobile screens
2021-12-02 21:18:18 +08:00
Cotes Chung df3a703988 Refactor HTML structure 2021-12-02 05:54:43 +08:00
Cotes Chung 55fce7574c Refactor theme mode toggle
- Improve mode switching JS execution priority
- Drop deprecated Web API
2021-12-02 05:51:30 +08:00
Bhavy Khatri 707466b1df
Accessibility Bug Fix: Tab focus doesn't reach Dark mode toggle button (#453) 2021-12-01 00:23:22 +08:00
Cotes Chung e880448ba5 Fix code-language conversion (`json`, `plaintext`) 2021-11-29 21:03:53 +08:00
Cotes Chung 30d3249782 Remove the host of the search result URLs 2021-10-15 00:49:13 +08:00
Cotes Chung a887f1d57d Prevent the site test from failing when the avatar is not assigned (close #418)
Some rookies like to do this :(
2021-10-01 18:39:02 +08:00
Cotes Chung 063b2a6651 Prevent Disqus from jumping when page loading 2021-09-29 03:24:41 +08:00
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 395b24736a Improve the layout of sidebar icons 2021-09-24 14:54:15 +08:00
Cotes Chung 2417db656c Add aria label 2021-09-17 18:59:49 +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 beabb36d7f Add custom title to code block 2021-09-16 01:17:09 +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 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 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 1a94b1889f Upgrade simple-jekyll-search from 1.7.3 to 1.10.0 2021-09-04 21:23:09 +08:00
Cotes Chung 6e0afcf9e8 Improve recognition of CJK 2021-08-26 01:26:16 +08:00
Maulana Kurniawan b80d95dcdd Add Indonesian translation for search: no results. (#394)
Signed-off-by: maulanakurniawann <maulanakurniawan@outlook.co.id>
2021-08-09 12:46:23 +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 57e8c6e594 Drop site config options `content_lang` & `outdated` 2021-07-30 15:55:59 +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 f56852a700 Fix breadcrumb for pagination 2021-07-20 02:08:28 +08:00
Cotes Chung d52fa88337 Prevent the post date from shifting when loading 2021-07-11 17:04:13 +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 fd97067ec3 Optimize the JS loading priorities 2021-07-03 05:11:11 +08:00