Commit graph

52 commits

Author SHA1 Message Date
Cotes Chung
475d181aac
refactor: optimize the basic layouts 2023-10-04 18:15:22 +08:00
Cotes Chung
109725d2dc
fix(home): avoid LQIP dirty data passing to the next post (#1278) 2023-09-29 05:25:10 +08:00
Cotes Chung
bf3a34d054
perf(core): replace lazysizes with browser-level lazy loading (#1267) 2023-09-27 04:44:32 +08:00
Cotes Chung
505e314a31
perf: refactor using semantic HTML (#1207)
Fixes #1196
2023-09-08 22:48:37 +08:00
Cotes Chung
41b8f9f519
feat(layout): center the footer 2023-09-07 01:58:03 +08:00
Cotes Chung
2bbfda79ad
refactor(layout): improve margin bottom of the core block (#1116)
Improvement of commit 73af591
2023-06-28 20:21:30 +08:00
PENEKhun
8b0fbf5a83
fix: missing xml escape for alt of preview image (#1113)
Preview image display error when `alt` contains '<' or '>'


Co-authored-by: Cotes Chung <11371340+cotes2020@users.noreply.github.com>
2023-06-28 14:23:27 +08:00
Cotes Chung
ce2f6f5abe
perf(ui): avoid blank space at the bottom of the homepage preview image
When the title of the post has a line break, there will be a blank space at the bottom of the preview image.
2023-06-04 09:36:32 +08:00
Cotes Chung
73af59194a
fix(ui): min-height of page layout exceeds the mobile screen 2023-05-20 05:28:15 +08:00
Cotes Chung
aba9468b53
fix(home): preview image missing [alt] and img_path (#1044)
Close #1044
2023-05-18 10:46:15 +08:00
Cotes Chung
d9e1d84f08
refactor(deps): upgrade bootstrap from v4.6 to v5.2
- update class name of the spacing, font style, cards and toasts
- update attribute names &  tooltip usage
- remove custom smooth scroll
- syntax colors
2023-05-13 02:05:33 +08:00
Cotes Chung
2918da9f29
perf(ui): improve related posts design 2023-05-13 02:05:31 +08:00
Cotes Chung
97b8dfeed6
feat(ui): show preview image in home page 2023-05-13 02:05:30 +08:00
Cotes Chung
61fdbcb83a
perf(i18n): set the global default locales to "en" (#979)
Avoid missing labels caused by languages ​​outside of locales.
2023-05-06 07:22:29 +08:00
Cotes Chung
b85f6330de
feat(ux): turn home page posts into clickable cards (#895)
Resolves #895
2023-03-18 01:49:34 +08:00
Cotes Chung
d96fa5aa0c
refactor: reduce language include file 2022-10-19 04:22:13 +08:00
Cotes Chung
6d35f5f8da
perf: avoid the layout shift for post datetime 2022-04-26 04:55:37 +08:00
Cotes Chung
08a993be90 Bypass hidden posts in home page pagination (fix #504) 2022-02-12 06:10:21 +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
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
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
6220d09ffb Replace the pageviews with categories on home page 2021-12-03 21:03:31 +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
0b29c0321f Add layout localization 2021-07-21 23:50:16 +08:00
Cotes Chung
4a0242e496 Simplify the PV config options
- Remove options `site.google_analytics.pv.enabled` and `site.google_analytics.pv.proxy_url`
- Rename options `site.google_analytics.pv.cache` to `site.google_analytics.pv.cache_path`
2021-04-06 23:15:36 +08:00
Cotes Chung
893db51ff0 Improve the copyrights of the assets 2021-01-26 20:24:47 +08:00
Cotes Chung
cbb3bd4be5 Set default values for site variables
good for gem-based first run
2021-01-26 20:24:47 +08:00
Cotes Chung
08fbd06c63 Optimize the DOM of post link on homepage 2020-12-29 15:39:29 +08:00
Cotes Chung
5ffbfaec26 Beautify the pin label on home page 2020-12-17 15:30:49 +08:00
Cotes Chung
b9ffe15ffb Feature: Add reading time to posts 2020-12-17 15:30:49 +08:00
Cotes Chung
d4397dff08 Improved the pin for posts (#99). 2020-08-11 18:15:45 +08:00
Cotes Chung
aa23becd14 Split post date format code snippets.
Code improvement
2020-07-24 04:15:38 +08:00
Cotes Chung
209058b84a Code improvement.
Passing parameters to includes
2020-07-22 23:02:11 +08:00
Cotes Chung
f9706411e7 Optimized pin icon size. 2020-06-09 20:37:42 +08:00
Felix Wolfsteller
ea4cd78921 typo fix: s/defualt/default/ 2020-06-08 15:44:59 +02:00
Cotes Chung
fbbd387402 Otpimized pin icon layout. 2020-06-07 21:51:11 +08:00
Cotes Chung
ba47cc0509 Optimized responsive layout. 2020-06-07 21:22:24 +08:00
Cotes Chung
34d54f9349 Super feature: Pinned posts. 2020-06-06 18:51:56 +08:00
Cotes Chung
171faafc67 Unify local links to posts (#65). 2020-05-29 06:18:53 +08:00
Cotes Chung
ac9dc4d9ac Remove line number from post snippet (#51).
Involves:
- Home page
- relate posts
- search results
- feed
2020-05-09 01:15:33 +08:00
Cotes Chung
b393e12e30 Optimized typography. 2020-04-09 03:08:56 +08:00
Cotes Chung
1ce1455ce2 Improved the PV fetching experience. 2020-04-04 01:03:00 +08:00
Cotes Chung
b3c493a6de Improve the way to define and use date-format. 2020-02-22 07:23:37 +08:00
Cotes Chung
4661ec95b9 Split paginator from Home layout. 2020-02-22 07:09:09 +08:00
Cotes Chung
1d61608c71 More tooltip placement specified. 2020-02-21 04:48:07 +08:00
Cotes Chung
f302f798aa Change the tooltips placement.
Also modified code indentation.
2020-02-17 02:51:12 +08:00
Cotes Chung
8591e921e4 Added more project info in files. 2020-01-14 02:57:31 +08:00
Cotes Chung
3248343c22 A super huge improvement in search.
- Added a cleanup button within input form.
- Optimized TopBar responsive effect(for search layout).
- Redesign the search results layout.
2020-01-02 02:29:13 +08:00
Cotes Chung
77a47c4b62 Fixed some HTML tags. 2019-12-24 00:37:26 +08:00
Cotes Chung
3c8fb76356 Beautified PV loading icon. 2019-12-19 03:06:33 +08:00