Commit Graph

40 Commits

Author SHA1 Message Date
ZyPLJ
4c0618b677 fix(utils): replace map with forEach to resolve biome lint error | 解决Github Action Biome 代码检查错误 (#601)
* fix(utils): replace map with forEach to resolve biome lint error

* fix(utils): replace map with forEach in getCategoryList for clarity

* fix(utils): specify radix parameter in Number.parseInt for clarity

---------

Co-authored-by: L4Ph <me@l4ph.moe>
2025-08-21 17:44:33 +09:00
Swizzer
3ff71d031b perf(content): ️ reduce archive page size by stripping post body (#541)
Some checks failed
Code quality / quality (push) Failing after 9s
Build and Check / Astro Check for Node.js 22 (push) Failing after 6s
Build and Check / Astro Check for Node.js 23 (push) Failing after 5s
Build and Check / Astro Build for Node.js 22 (push) Failing after 5s
Build and Check / Astro Build for Node.js 23 (push) Failing after 13s
* perf(content): ️ reduce archive page size by stripping post body

* apply biome fix

* refactor: Separate function responsibilities (removed unnecessary linkage of preceding and following slugs)

---------

Co-authored-by: L4Ph <me@l4ph.moe>
2025-07-13 14:47:00 +09:00
Katsuyuki Karasawa
9130765d45 Biome 2.0 with format (#510)
* execute migrate command

* migrate to v2

* update config

* supress linter error
2025-06-18 23:01:28 +09:00
Saica
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
559a324ae5 fix: fix type errors
Some checks failed
Code quality / quality (push) Failing after 4s
Build and Check / Astro Check for Node.js 22 (push) Failing after 4s
Build and Check / Astro Check for Node.js 23 (push) Failing after 4s
Build and Check / Astro Build for Node.js 22 (push) Failing after 5s
Build and Check / Astro Build for Node.js 23 (push) Failing after 4s
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
Katsuyuki Karasawa
4b30ff2b7b fix: improve category URL handling with additional checks (#472)
Some checks failed
Code quality / quality (push) Failing after 4s
Build and Check / Astro Check for Node.js 22 (push) Failing after 4s
Build and Check / Astro Check for Node.js 23 (push) Failing after 5s
Build and Check / Astro Build for Node.js 22 (push) Failing after 5s
Build and Check / Astro Build for Node.js 23 (push) Failing after 5s
* fix: improve category URL handling with additional checks

* Update src/utils/url-utils.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-30 14:55:55 +09:00
saica.go
2d89e4d53f feat: make archive page dynamic (#469)
Some checks failed
Code quality / quality (push) Failing after 4s
Build and Check / Astro Check for Node.js 22 (push) Failing after 4s
Build and Check / Astro Check for Node.js 23 (push) Failing after 4s
Build and Check / Astro Build for Node.js 22 (push) Failing after 4s
Build and Check / Astro Build for Node.js 23 (push) Failing after 3s
2025-05-30 00:21:07 +08:00
Katsuyuki Karasawa
2b3d7cf304 fix: Trim whitespace from category and tag names in URL generation (#437)
Some checks failed
Code quality / quality (push) Failing after 4s
Build and Check / Astro Check for Node.js 22 (push) Failing after 4s
Build and Check / Astro Check for Node.js 23 (push) Failing after 4s
Build and Check / Astro Build for Node.js 22 (push) Failing after 4s
Build and Check / Astro Build for Node.js 23 (push) Failing after 3s
2025-05-05 09:57:34 +09:00
Katsuyuki Karasawa
11535a9709 Fix category with reserved character (#431)
Some checks failed
Code quality / quality (push) Failing after 3s
Build and Check / Astro Check for Node.js 22 (push) Failing after 4s
Build and Check / Astro Check for Node.js 23 (push) Failing after 5s
Build and Check / Astro Build for Node.js 22 (push) Failing after 4s
Build and Check / Astro Build for Node.js 23 (push) Failing after 4s
* fix: Encode category in URLs to handle reserved characters

* fix: Encode category names in static paths to handle reserved characters
2025-05-01 02:24:53 +09:00
Katsuyuki Karasawa
286b050fa8 format all code (#386) 2025-04-08 23:08:31 +09:00
0bipinnata0
b826152352 fix(blog): restore prev/next post navigation buttons (#346)
Co-authored-by: 0bipinnata0 <0bipinnata0@users.noreply.github.com>
2025-03-28 22:28:17 +09:00
saicaca
1af707ee6a fix: fix RSS build error 2024-09-04 23:13:58 +08:00
Katsuyuki Karasawa
e9c8930559 refactor: improve type safety (#155)
* Fix to make it type safe.

* The build is failing, fix it.
2024-08-28 00:19:26 +08:00
saicaca
0ad144add3 fix: fix errors and reformat code 2024-08-03 16:44:38 +08:00
saicaca
003c644146 refactor: improve code quality 2024-07-21 15:49:22 +08:00
xingo xu
c3ac8d9728 feat: light/dark modes switch immediately with the system theme (#95) 2024-06-06 01:20:05 +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
8ce1c7ab6e fix: load stored theme before rendering 2024-04-29 12:52:50 +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
af29b9160f refactor: code cleanup 2024-02-18 18:26:40 +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
L4Ph
197d524b53 feat: add FrontMatter CMS, biome, translation, etc.
* add Frontmatter CMS

* add biome

* update

* update

* fixed & add docs

* fix translation.ts

* fix translation
2024-01-21 12:54:41 +08:00
saicaca
f9a78b3e3b feat: remove support for nested categories 2023-12-14 13:44:20 +08:00
saicaca
239c546d5f fix: fix build fail 2023-11-09 12:01:32 +08:00
saicaca
b0d265b42b fix: site url and base dir should be set in astro.config.mjs 2023-11-08 23:30:42 +08:00
saicaca
b171ad463e feat: add front-matter variable category 2023-11-07 14:46:29 +08:00
saicaca
c642691dc8 feat: add license block 2023-11-03 14:15:17 +08:00
saicaca
1ae4a8eee9 feat: use .ts instead of .yaml for configurations 2023-10-23 17:54:39 +08:00
saicaca
ea4a453e25 feat: minor fixes 2023-10-18 21:24:51 +08:00
saicaca
75d87f3afc feat: update README 2023-10-18 17:53:14 +08:00
saicaca
767d351bd5 feat: regularize front-matter, add new-post command 2023-10-18 17:31:11 +08:00
saicaca
f4dc88e982 feat: allow collapsing widget content, add categories widget
(cherry picked from commit 9a4ca8f6163d5e1375aa7c612e1338cce5a8c0b5)
2023-10-18 02:15:28 +08:00
saicaca
83b765a398 fix: make tag sorting case-insensitive, fix wrong url
(cherry picked from commit 869eea036103abfcaec271d4f02c7ac2a8203648)
2023-10-18 02:15:27 +08:00
saicaca
2c4cc28e1f feat: i18n, page title
(cherry picked from commit 0d9fc72bee009c591400055725680a6a0f5a9c83)
2023-10-18 02:15:25 +08:00
saicaca
26408b0b7e feat: post styles, next/prev post btn, display-settings, etc.
(cherry picked from commit b7ddd92729d52a8c43d72010b743f7e3477f1001)
2023-10-18 02:15:23 +08:00
saicaca
124843848f feat: initial commit
(cherry picked from commit 44c4d7b9521fe449e61edc614446195861932f8c)
2023-10-18 02:15:21 +08:00