100 Commits
Author SHA1 Message Date
saicaca 3c9a622a18 docs: update README and add contributing guide 2025-06-03 23:31:28 +08:00
SaicaandHasenpfote ee48c2f09d feat: introduce Expressive Code for code block rendering (#476)
* feat: improve code block feature with Expressive Code

* docs: add example Markdown file for visual review

* feat: improve styles of Expressive Code

* fix: errors from the merging

* chore: formatting

* chore: update config

* chore: update dependencies

* fix: fix build error

* fix: minor fixes

* fix: style tweaks

* docs: update example post

* fix: isolate copy button timeouts to avoid cross-button interference

---------

Co-authored-by: Hasenpfote <Hasenpfote36@gmail.com>
2025-06-03 22:41:36 +08:00
saicaca e640964e5e chore: add check command 2025-06-03 20:54:57 +08:00
saicaca 559a324ae5 fix: fix type errors 2025-05-30 20:34:35 +08:00
saicaca dde7835dd7 fix: unable to list uncategorized posts on the archive page (fix #471) 2025-05-30 19:42:45 +08:00
saica.go 2d89e4d53f feat: make archive page dynamic (#469) 2025-05-30 00:21:07 +08:00
saicaca 1b4b859e87 fix: remove obsolete astro:after-swap listener
which can be triggered in Astro 5.0 even with Swup, causing duplicate initialization
2025-01-17 03:55:30 +08:00
saicaca cbf17e880d fix: fix incorrect TOC highlight (fix #249) 2024-12-07 21:59:17 +08:00
saicaca e44628364b fix: small bugs with GitHub repo cards (fix #242) 2024-12-07 18:50:19 +08:00
saicaca 8cd04d9ceb fix: fix TOC highlight appearing on pages without a TOC 2024-12-07 18:42:05 +08:00
saicaca 94184f381b fix: fix TOC highlight for non-ASCII titles (#246) 2024-12-07 04:18:54 +08:00
saicaca eb3f9f2676 fix: fix incorrect position of TOC indicator 2024-12-06 20:53:24 +08:00
saicaca 9ab977fe4c feat: improve the style of the TOC component 2024-12-06 19:20:58 +08:00
saicaca 079abbc965 refactor: css cleanup and style tweaks 2024-12-02 16:02:39 +08:00
saicaca 420275c342 fix: hide TOC in mobile view (#214) 2024-10-31 02:22:50 +08:00
saicaca 201f4c8e23 feat: scrolling to the top don't hide the TOC when banner is disabled 2024-10-28 19:06:28 +08:00
saicaca e1a98c4149 fix: TOC component overflows the webpage (#209) 2024-10-28 18:44:06 +08:00
saicaca 18fcf6dd83 fix: fix blurry text caused by translate 2024-10-28 03:19:25 +08:00
saicaca 1b652f686d feat: add configurations for TOC component 2024-10-28 00:45:16 +08:00
saicaca 9f251d4cea feat: style tweak 2024-10-28 00:40:19 +08:00
saicaca 2c716931f8 refactor: code cleanup 2024-10-27 18:29:06 +08:00
saicaca ec179a2127 chore: update example post 2024-10-27 18:18:22 +08:00
saicaca 2b9f6bc5bb feat: UX improvements for the TOC component 2024-10-27 18:18:22 +08:00
saicaca 00aa50ad5b fix: fix build error 2024-10-26 16:12:47 +08:00
saicaca c320ba524c fix: missing CSS classes 2024-10-26 16:09:19 +08:00
saicaca 66463dd012 Merge branch 'toc-new'
# Conflicts:
#	astro.config.mjs
#	pnpm-lock.yaml
#	src/components/GlobalStyles.astro
2024-10-26 16:02:43 +08:00
saicaca 947ff49b53 fix: force override post width 2024-10-26 15:57:30 +08:00
saicaca a336f34ea4 feat: redesign TOC 2024-10-26 15:48:54 +08:00
saicaca 8beeba81db feat: more readable error message for image not found 2024-09-20 01:18:33 +08:00
saicaca 085fd62a79 feat: add onload animation for banner 2024-09-20 01:18:33 +08:00
saicaca 8565724eb3 fix: fix the flickering caused by custom scrollbar initialization (#60) 2024-09-20 00:59:26 +08:00
saicaca 93209a5bba fix: fix the top margin of sticky sidebar (#184) 2024-09-20 00:34:48 +08:00
saicaca 44fb628737 fix: fix navbar disappearing after link click (#182) 2024-09-16 13:26:41 +08:00
saica.go f0754cae3f perf: optimizing page transition (#178)
* perf: optimizing page transition

* fix: minor fixes
2024-09-13 20:14:03 +08:00
saicaca f5ad1c643d docs: update README 2024-09-10 02:28:00 +08:00
saicaca 31af084f8a feat!: front-matter language -> lang 2024-09-10 01:31:35 +08:00
saicaca 1af707ee6a fix: fix RSS build error 2024-09-04 23:13:58 +08:00
saicaca 4518dbf0f8 chore: update dependencies 2024-08-29 22:33:27 +08:00
saicaca b358bddb10 perf: preload PhotoSwipe instead of waiting for user click 2024-08-06 22:21:25 +08:00
saicaca 0ad144add3 fix: fix errors and reformat code 2024-08-03 16:44:38 +08:00
saicaca 1f93499ece feat: use the first paragraph as the excerpt if description is not set 2024-08-03 16:03:03 +08:00
saicaca 9af6cf956a feat: style tweaks 2024-08-02 02:18:37 +08:00
saicaca f96cf6fdae feat: some improvements for image zooming 2024-07-28 18:48:44 +08:00
saicaca 336290a92f feat!: add credit configurations for banner image
BREAKING CHANGES: new mandatory fields added in `config.ts`
2024-07-27 22:13:14 +08:00
saicaca f28ad1b8e6 feat: increase height of the banner on the homepage 2024-07-27 15:45:43 +08:00
saicaca b0337a997e fix: siteConfig.banner.position not working 2024-07-27 15:45:43 +08:00
saicaca 2eff25dc12 chore: update dependencies 2024-07-27 15:45:43 +08:00
saicaca b2da426627 fix: fix CDN link for katex 2024-07-26 23:08:50 +08:00
saicaca 442cb8fe97 chore: ignore errors when CSS files don't need compression 2024-07-26 23:06:55 +08:00
saicaca f817e930ec docs: update README 2024-07-22 01:09:03 +08:00
saicaca 96223c0b5a refactor: improve code quality 2024-07-21 18:41:03 +08:00
saicaca 003c644146 refactor: improve code quality 2024-07-21 15:49:22 +08:00
saicaca 2622aabe07 fix: sort post list in RSS by time and exclude draft posts 2024-07-20 23:47:40 +08:00
saicaca bd4f0e8b63 fix: failed GitHub API requests no longer break the href of repo card & style tweak 2024-07-20 23:25:03 +08:00
saicaca f438ea4252 feat: style improvements (mainly animations) 2024-06-30 01:30:03 +08:00
saicaca 02865aa76e feat: improve button animation 2024-06-22 20:29:30 +08:00
saicaca 8bdad0b2fc feat: add support for GitHub style admonition syntax 2024-06-22 01:31:29 +08:00
saicaca 176b38a4cb fix: custom scrollbar does not reload after page switch 2024-06-22 01:11:27 +08:00
saicaca 960e85f92d fix: extra empty lines in codeblocks still displayed in some cases 2024-06-22 00:49:30 +08:00
saicaca b70a01a43a fix: style tweaks for copy-code button 2024-06-21 22:37:39 +08:00
saicaca 5cfc78ef65 fix: hide the extra empty line in code blocks 2024-06-21 19:29:54 +08:00
saicaca 03d88af14e chore: upgrade dependencies 2024-06-21 19:29:54 +08:00
saicaca ce36ba37c5 fix: profile-card style tweak 2024-06-08 22:52:05 +08:00
saicaca 5dd1287255 fix: fix a style bug in the tag list (#41, #93) 2024-06-07 00:16:25 +08:00
saicaca 12e1b151a7 fix: fix base path not applied to mobile nav menu 2024-05-25 01:52:31 +08:00
saicaca 47c65cd551 docs: update example posts 2024-05-03 02:24:01 +08:00
saicaca 39797fd677 fix: some fixes for admonition and GitHub repo card 2024-05-03 02:24:01 +08:00
saicaca 5e4ae01af6 docs: add some comments to config.ts 2024-05-01 12:35:36 +08:00
saicaca 873dbe3189 feat: basic post structured data for SEO 2024-04-29 17:27:14 +08:00
saicaca 410902a767 fix: make base in astro config work 2024-04-29 17:09:52 +08:00
saicaca 9a3119cab4 chore: temporarily suppress dynamic import warning 2024-04-29 15:41:41 +08:00
saicaca 8ce1c7ab6e fix: load stored theme before rendering 2024-04-29 12:52:50 +08:00
saicaca 163ed17ae6 fix: style tweak 2024-04-29 12:52:28 +08:00
saica.go e8cbb7a829 feat: option to follow the system-wide light/dark mode (#71) 2024-04-28 12:43:10 +08:00
saicaca 94a9e9757d feat: multiple custom favicons 2024-04-23 03:03:31 +08:00
saicaca 0676b01b6a docs: update README 2024-04-07 00:47:28 +08:00
saicaca 9aa39a7fc6 docs: update README 2024-03-17 23:55:25 +08:00
saicaca e9b4412926 chore: update dependencies 2024-03-16 01:19:23 +08:00
saicaca df30781cdc fix: onload animation tweaks 2024-03-13 01:32:54 +08:00
saicaca 2ff9b8544e feat: onload animation for article pages 2024-03-12 18:39:25 +08:00
saicaca dfa863369b feat: onload animation 2024-03-12 16:13:10 +08:00
saicaca a80d69d843 feat: use Swug for transition animations instead of ViewTransitions 2024-03-12 14:04:58 +08:00
saicaca e64bd923da fix: a11y fixes 2024-03-12 12:37:49 +08:00
saicaca 033514bec5 chore: remove sharp dependency 2024-02-22 21:54:06 +08:00
saicaca d68f26a74f fix: minor fixes 2024-02-18 18:26:40 +08:00
saicaca af29b9160f refactor: code cleanup 2024-02-18 18:26:40 +08:00
saicaca 3cd21c2da9 refactor: rewrite DisplaySettings and Search using Svelte 2024-02-18 18:26:40 +08:00
saicaca 90070d06c1 fix: url /page/1 -> /, /page/2 -> /2 2024-02-18 18:26:40 +08:00
saicaca bd17b39fd2 fix: fix widget content collapsing not working 2024-02-12 01:12:27 +08:00
saicaca 8b8a765d56 feat: add line numbers for code blocks 2024-01-25 16:09:00 +08:00
saicaca d831f4f5ca fix: don't load Pagefind and return fake search results for dev environment 2024-01-25 12:27:54 +08:00
saica.go 79ec8030cc feat: implement post search using Pagefind (#12) 2024-01-24 12:28:16 +08:00
saicaca 31bb0d576e fix: don't initialize the overlay scrollbar if there is a native one 2024-01-22 12:02:54 +08:00
saicaca 4316654a98 fix: fix custom code font doesn't work 2024-01-22 11:35:54 +08:00
saicaca e428b1d5a5 feat: mobile style improvements 2024-01-22 11:25:56 +08:00
saica.go 025953bca3 feat: much better mobile view design (#11) 2024-01-22 02:06:24 +08:00
saicaca 6ba4db0ef8 docs: update example posts 2024-01-21 20:22:14 +08:00
saicaca e0b93eb63c feat: make 'uncategorized' a category 2024-01-21 20:21:04 +08:00
saicaca 23533e9ac9 fix: minor fixes 2024-01-21 20:19:34 +08:00
saicaca 3fcb566a54 feat: use relative paths for cover images 2024-01-21 16:34:37 +08:00