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
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
Tamme Schichler
4a2016a9e3
Don't include Google Analytics scripts without analytics id ( #482 )
2022-01-14 19:03:16 +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
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
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
37344ef0df
Merge branch 'feature/post-img-path'
2021-12-31 00:09:58 +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
iwasaki501
f7ec9cd24a
Bug Fix: Link in a heading is rendered as an anchor and becomes invisible unless it is hovered. ( #469 )
...
`<a>` tags in headings are set to apply the style of `%anchor` in `module.scss` and `common.scss`.
Therefore, if I put a link in a heading, the link will have the same style as the anchor,
which means that the font size becomes smaller and the link will not be displayed unless I hover the mouse over it.
My suggestion is to set an `anchor` class for the `<a>` tag of the anchor and apply style settings to the `anchor` class, not to the `a` tag.
2021-12-30 15:57:02 +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
f4b2dfe8b4
Fix the conversion of image width/height abbreviation
2021-12-12 00:38:49 +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
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