Cotes Chung
|
5c6ec9d06b
|
fix: css selector string escaping vulnerability (#888)
Resolves #888
|
2023-02-15 05:19:26 +08:00 |
|
Cotes Chung
|
c3a840076e
|
refactor: replace the deprecated js api
|
2023-02-15 04:53:40 +08:00 |
|
Cotes Chung
|
ab16fdc7fc
|
feat: add shimmer background when image loads
|
2022-12-24 23:51:47 +08:00 |
|
Cotes Chung
|
ca41c7ebff
|
chore(deps): use lazysizes to load images
|
2022-12-09 07:36:06 +08:00 |
|
Cotes Chung
|
339293d0d7
|
style: 4 space indents to the JS files
|
2022-10-25 19:26:44 +08:00 |
|
Cotes Chung
|
1fd665bf49
|
perf: modify checkbox icon with Liquid
Also optimize list padding start
|
2022-10-24 21:06:02 +08:00 |
|
Cotes Chung
|
b6a1a4172e
|
style(js): fix code style in JS
|
2022-10-22 03:26:22 +08:00 |
|
Cotes Chung
|
6852ceb280
|
refactor: remove site config option prefer_datetime_locale
|
2022-10-19 04:22:12 +08:00 |
|
Cotes Chung
|
6d35f5f8da
|
perf: avoid the layout shift for post datetime
|
2022-04-26 04:55:37 +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
|
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
|
2cef631385
|
Hide topbar when mobile orientation in landscape mode (resolve #459)
|
2022-01-09 19:09:29 +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
|
c8fd0d728d
|
Clean up the JS log when the post is scrolled(mobile views)
|
2021-12-31 00:09:09 +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
|
7579644e8d
|
Make the anchor scroll position more precise
|
2021-12-07 16:26:26 +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
|
b7cc22983f
|
Prevent multiple reserse-footnote from overlapping (fix #439)
|
2021-10-31 22:56:22 +08:00 |
|
Cotes Chung
|
1bb54096f4
|
Improve the UX of clipboard button
|
2021-09-24 15:13:00 +08:00 |
|
Cotes Chung
|
2dfdb66e0a
|
Refactor clipboard functions
|
2021-09-17 16:08:00 +08:00 |
|
Cotes Chung
|
4001ef7cba
|
Prevent copying code line numbers on Safari
|
2021-09-16 18:42:50 +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
|
f411ba33d8
|
Fix code style
|
2021-09-16 01:19:40 +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
|
5e9a7b319e
|
Add clipboard JS
|
2021-09-11 00:30:21 +08:00 |
|
Cotes Chung
|
780af9ac5f
|
Remove unused variable on HTML & JS
|
2021-08-01 21:49:44 +08:00 |
|
Cotes Chung
|
0b29c0321f
|
Add layout localization
|
2021-07-21 23:50:16 +08:00 |
|
Cotes Chung
|
c969eaa040
|
Recover the missing image link identifier class
|
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
|
6d1d440c00
|
Preventing image reflow (fix #351)
|
2021-07-02 17:14:40 +08:00 |
|
Cotes Chung
|
84bb4d0c4b
|
Add image popup effect
|
2021-04-24 16:32:56 +08:00 |
|
Cotes Chung
|
72e8ffafa6
|
Exclude JS source code from the output
|
2021-04-20 04:22:28 +08:00 |
|