Commit graph

142 commits

Author SHA1 Message Date
Cotes Chung
0213331a16 Improve the way to set the default value of locales 2021-08-01 22:04:11 +08:00
Cotes Chung
57e8c6e594 Drop site config options content_lang & outdated 2021-07-30 15:55:59 +08:00
Cotes Chung
0b29c0321f Add layout localization 2021-07-21 23:50:16 +08:00
Cotes Chung
d52fa88337 Prevent the post date from shifting when loading 2021-07-11 17:04:13 +08:00
Cotes Chung
fd97067ec3 Optimize the JS loading priorities 2021-07-03 05:11:11 +08:00
Cotes Chung
6d1d440c00 Preventing image reflow (fix #351) 2021-07-02 17:14:40 +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
1b47c95cf6 Disable configuration option 'site.author' 2021-03-20 22:37:10 +08:00
Cotes Chung
d2bb423220 Change the order of post meta & improve timeago 2021-03-03 18:32:06 +08:00
Cotes Chung
91da99282d Add lang option to the site config sample 2021-02-01 17:38:50 +08:00
Bogdan Stoica
eacad65cbb Add alt attribute to the post's preview image (#271) 2021-01-30 01:14:03 +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
6e6633c2fc Add image CDN support & improve image lazy loading 2021-01-09 23:05:55 +08:00
Cotes Chung
08fbd06c63 Optimize the DOM of post link on homepage 2020-12-29 15:39:29 +08:00
Cotes Chung
c381353f86 Use liquid to determine whether to render ToC 2020-12-28 02:30:32 +08:00
Cotes Chung
ef0c9ce770 Simplify sidebar style
Avoid element shifting when rendering
2020-12-26 00:41:06 +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
dc88321ed5 Improve image style (#204) 2020-12-15 00:39:50 +08:00
Cotes Chung
cea339088b Improve the checkbox style (#207)
Hotfix: the solution of #203 will affect the layout `archives`
2020-12-13 01:45:52 +08:00
Alexandra Zaharia
464fa001b2 Add checkbox style to remove bogus rendered bullet (#203) 2020-12-13 00:35:45 +08:00
Cotes Chung
b8ee5a7b0c Fix underscores in the links of tags/categories (#199) 2020-12-11 23:05:36 +08:00
Cotes Chung
63f57fbc12 Delay GA loading 2020-12-10 23:57:48 +08:00
Cotes Chung
4d2f13c0d7 Integrate with mermaid-js 2020-12-10 05:00:01 +08:00
Cotes Chung
bb13b52d44 Simplify theme-mode config 2020-12-07 01:14:40 +08:00
Cotes Chung
5d6014ecee Regular improvement for liquid code 2020-12-05 02:44:28 +08:00
Cotes Chung
e27825d3eb Improve JS/CSS selector
Separate layout from tabs, and more friendly to tabs rename (#187)
2020-12-04 14:18:25 +08:00
Cotes Chung
4ea320b250 Generate sitemap by plugin 2020-11-26 23:58:11 +08:00
Cotes Chung
10bc44367a Add hook to generate the lastmod of posts 2020-11-19 21:11:00 +08:00
Cotes Chung
1889b6b4e0 Using jekyll-archives to create category/tag pages. 2020-11-19 01:12:41 +08:00
Cotes Chung
7d128769f6 Avoid GA snippet blocking HTML parsing. 2020-10-27 21:20:06 +08:00
Cotes Chung
8d4c1deb15 Improve web accessibility
- Add associated label to form elements.
- Add discernible name to links.
2020-10-27 16:42:08 +08:00
Cotes Chung
3c2675c4a1 Upgrade GA tag (analytics.js) to the latest tag (gtag.js) 2020-10-12 06:19:11 +08:00
Cotes Chung
f932cf0d00 Lazy load the feature image. 2020-09-20 17:58:52 +08:00
Cotes Chung
7bb861b573 Beautify the layout for posts heading and preview-image. 2020-08-21 23:03:05 +08:00
Cotes Chung
188d8ffc69 Resume the min-width of the tables.
It was lost by mistake while fixing #85
2020-08-15 01:01:27 +08:00
Cotes Chung
d4397dff08 Improved the pin for posts (#99). 2020-08-11 18:15:45 +08:00
Cotes Chung
112091cbf6 Improved the posts layout. 2020-07-30 05:12:36 +08:00
Cotes Chung
aa23becd14 Split post date format code snippets.
Code improvement
2020-07-24 04:15:38 +08:00
Cotes Chung
b2f0b4cb1b Improved post date display. 2020-07-23 20:57:11 +08:00
Cotes Chung
209058b84a Code improvement.
Passing parameters to includes
2020-07-22 23:02:11 +08:00
Cotes Chung
9f3619e54a Fixed last-mod display for non-English named posts. 2020-07-16 21:00:19 +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
75e462a9e9 Replaced the blank loading image with HTML trick. 2020-06-01 19:50:29 +08:00
Cotes Chung
cfb67a1cb9 Fixed image lazy loading. 2020-05-29 06:18:53 +08:00
Cotes Chung
171faafc67 Unify local links to posts (#65). 2020-05-29 06:18:53 +08:00
Cotes Chung
a64d00c1e6 Make lang attribute configurable 2020-05-23 17:07:06 +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
e561dfb9be Simplified the lazy loading of post images. 2020-05-01 02:18:04 +08:00
Cotes Chung
6f42bbc6e5 Fix issue #37. 2020-04-23 22:11:50 +08:00
Cotes Chung
99aadd61c1 Replace python with bash. 2020-04-23 22:11:50 +08:00
Cotes Chung
b393e12e30 Optimized typography. 2020-04-09 03:08:56 +08:00
Cotes Chung
caf8dec568 Update the post meta design. 2020-04-08 02:12:25 +08:00
Cotes Chung
2423dbc726 Optimized page layout. 2020-04-08 02:12:25 +08:00
Cotes Chung
1ce1455ce2 Improved the PV fetching experience. 2020-04-04 01:03:00 +08:00
Cotes Chung
b4daef2f59 Remove redundant DOM structure. 2020-03-07 01:25:27 +08:00
Cotes Chung
f3280bc136 Import comment to papes. 2020-02-27 17:37:21 +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
9935f76530 Added more config for license. 2020-02-21 04:48:07 +08:00
Cotes Chung
16bb4e4544 Changed the position of lastmod and related posts. 2020-02-21 04:48:07 +08:00
Cotes Chung
840eab9566 Feature: Added post sharing options.
Also added a license statement at the bottom of the posts.
2020-02-21 04:48:06 +08:00
Cotes Chung
f302f798aa Change the tooltips placement.
Also modified code indentation.
2020-02-17 02:51:12 +08:00
Cotes Chung
79c7a5101f Feature: Make theme colors configurable. 2020-02-15 16:36:19 +08:00
Cotes Chung
ff9663f376 Fixed related URL. 2020-01-14 02:57:31 +08:00
Cotes Chung
2386fe5bd8 Another super feature: auto dark mode! 2020-01-14 02:57:31 +08:00
Cotes Chung
a42a5bfab4 Beautified the navigation button in post. 2020-01-14 02:57:31 +08:00
Cotes Chung
2ad4dc1b4e Display title in post's page button. 2020-01-14 02:57:31 +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
Jatin Sanghvi
a819ac95eb Allow special characters in categories and tags 2019-12-28 00:59:16 -08:00
Cotes Chung
a71bc50a5c Optimized the Post layout. 2019-12-24 02:32:16 +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
Cotes Chung
bbdad4ebd9 Optimized the indentation of layout Category and Tag. 2019-12-16 00:06:45 +08:00
Cotes Chung
924cfa7426 Move lozad. 2019-12-02 03:07:48 +08:00
Cotes Chung
98e1cf8252 Beautified the tags in posts. 2019-12-02 03:05:23 +08:00
Cotes Chung
1c77b8f9f2 Fixed post content min-height. 2019-12-02 03:05:23 +08:00
Cotes Chung
8417727e6e Fixed the posts' layout jumping in loading.
screen width >= 1200px and the panel is visible.
2019-12-02 03:05:23 +08:00
Cotes Chung
bd5e8be215 Hide ToC when scrolling to bottom. 2019-12-02 03:05:23 +08:00
Cotes Chung
bec924ed4c Optimize performance. 2019-12-02 03:05:23 +08:00
Cotes Chung
9e67a9dc22 Lazy load the image of posts. 2019-11-24 17:38:41 +08:00
Cotes Chung
15a2a98e05 Improved post loading speed.
Also improved the layout for Home page.
2019-11-20 01:50:55 +08:00
Cotes Chung
094b3da714 Add Related-Posts in the bottom of each posts. 2019-11-20 01:50:55 +08:00
Cotes Chung
cf4a7f2e2f Improved the TOC.
Automatically hide TOC titles
2019-11-20 01:50:55 +08:00
Cotes Chung
b845c829f6 Import the framework. 2019-11-18 01:08:03 +08:00