Commit Graph

224 Commits

Author SHA1 Message Date
CapaCake cbf35beeb8 feat: 将目录(TOC)移至侧边栏并优化滚动高亮逻辑
- 重构TOC组件,移至SideBar中显示
- 改进IntersectionObserver实现,优化章节高亮行为
- 添加toc国际化翻译(中/英/繁)
- 更新Swup容器配置,支持文章页侧边栏刷新
- 移除原MainGridLayout中的独立TOC容器
2026-03-22 12:16:51 +08:00
CapaCake b7ebf3bef7 feat: 添加文章置顶功能
- 添加 pinned 和 category_pinned 字段支持文章置顶
- archive 页面置顶文章独立于时间轴显示
- 主页卡片显示置顶图标
- 支持全局置顶和分类置顶两种模式
- 修复置顶文章在标签/未分类筛选时的过滤问题
2026-03-22 11:27:17 +08:00
CapaCake 370b421eed feat: 精简多语言支持并添加404页面 2026-03-21 15:39:09 +08:00
CapaCake d97e6c66d6 feat: 迁移博客个性化配置 2026-03-21 15:16:45 +08:00
CapaCake 5de5876bde chore: 移除模板示例文章并添加AGENTS.md配置 2026-03-21 13:33:56 +08:00
hexzii d0689b7a8a feat: add support for spoiler text (#602) 2025-08-24 16:54:02 +08:00
Carlos Company 59f71f5ef3 fix: improving contrast TOC light theme (#500) 2025-08-24 16:35:21 +08:00
Carlos Company 77391ed9ac refactor: replacing hardcoded style for existing variable (#525) 2025-08-24 16:32:34 +08:00
misaka10987 c6f27526ec fix: automatically wrap social links list (#604) 2025-08-24 16:30:54 +08:00
Mugzx 026369c63d fix: add display inline-block to link styles in markdown.css (#595) 2025-08-21 17:48:16 +09:00
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
Katsuyuki Karasawa c84bc2fc6e Bump biome (#603)
* bump biome schema

* apply safe fix
2025-08-21 17:36:42 +09:00
Carlos Company f0942ee8f7 Fixing Theme Color Selection Reset Button Animation (#563)
There was no bug for this, but if you display the theme color selector on safari on iOS and the reset to default theme color button is visible, you can see that after the fade in animation finished to show the popup there is an abrupt change of position of this button.
2025-08-20 21:41:19 +09:00
Kibidango086 9a7d7b1f7d fix: Correct language setting reminder, zh-CN -> zh_CN (#585) 2025-08-10 15:34:41 +09:00
rushii ec4dbfd1e8 fix(TOC): hide active overlay when no sections active (#586)
* fix(TOC): hide active overlay when none active

* fix indentation
2025-08-09 11:14:35 +08:00
Xeonzilla 4ad55e035c fix: define fonts for code block titles and language badges (#589) 2025-08-09 11:05:34 +08:00
adaxiik ef255e6b63 fix: missing base path in rss (#551)
* fix missing base path in rss

* sort imports
2025-08-06 02:02:24 +08:00
L4Ph 7d5f18d8a1 fix: update language options in SiteConfig for clarity and completeness 2025-08-03 22:23:18 +09:00
Katsuyuki Karasawa 7bb75ef394 Merge branch 'main' into main 2025-08-03 22:22:02 +09:00
Tandstik 5dfaed7e67 Turkish translation (#575)
* Turkish translation

turkish translation

* feat: add Turkish language support in translations

---------

Co-authored-by: L4Ph <me@l4ph.moe>
2025-08-03 22:12:20 +09:00
noeFly b06f908b2b fix: 修復 spec 收藏未定義提示 (#516) 2025-08-01 19:34:46 +09:00
Jehian 2adad90af8 Update config.ts 2025-07-29 09:32:11 +07:00
Jehian 2678d9e421 Update translation.ts 2025-07-29 09:31:32 +07:00
Jehian 4f94e03277 Create id.ts 2025-07-29 09:30:50 +07:00
Yapper 4382cdcc08 feat: add Vietnamese translation (#548)
* Create vi.ts

Create i18n Vietnamese translation file.

* Update translation.ts

Added Vietnamese language support.

* Update config.ts

Add Vietnamese (vi) to be a possible value for the `lang` key.

* Create README.vi.md

Created Vietnamese version of README.

* Update README.md

Added navigation/link to Vietnamese version of README.

* Update README.md

fixed a mistake
2025-07-27 12:14:43 +08:00
adaxiik 2b9e9ff903 fix: missing toc if base url is set (#550)
* fix missing toc if base url is set

* sort imports
2025-07-27 12:13:17 +08:00
Swizzer 3ff71d031b perf(content): ️ reduce archive page size by stripping post body (#541)
* 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
haappi 94c2ca3591 use correct s thingy in english for words & reading time (#503)
Co-authored-by: L4Ph <me@l4ph.moe>
2025-06-18 23:32:29 +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
Carlos Company cf6cadb686 fix: fixing rss by cleaning invalid characters (#492)
* fix: fixing rss by cleaning invalid characters

* style: format code for consistency in rss.xml.ts

---------

Co-authored-by: L4Ph <4ranci0ne@gmail.com>
2025-06-11 22:39:20 +09:00
Katsuyuki Karasawa 9de7aa10e4 fix: refactor onMount to avoid unnecessary async calls for search (#481)
* fix: refactor onMount to avoid unnecessary async calls for search

* Production debugging to check the console

* feat: enhance Pagefind integration with improved loading checks and error handling

* fix: improve Pagefind integration with event handling for loading and errors
2025-06-06 21:11:03 +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 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)
* 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) 2025-05-30 00:21:07 +08:00
Hasenpfote cb6f97fc49 fix: resolve katex-display scrollbar issues (#326)
* fix: resolve katex-display scrollbar issues

* style: add katex display container styles for better responsiveness

* fix: enhance katex display handling with scrollable containers and intersection observer

---------

Co-authored-by: L4Ph <4ranci0ne@gmail.com>
2025-05-18 12:26:59 +09:00
lebobob 300ae87b77 fix: conflicting display properties in class list (#450)
Co-authored-by: coolpi07 <thermoaidicai@qq.com>
2025-05-18 11:26:18 +09:00
Katsuyuki Karasawa 2b3d7cf304 fix: Trim whitespace from category and tag names in URL generation (#437) 2025-05-05 09:57:34 +09:00
Katsuyuki Karasawa 7f0c109b17 fix: Correct template literals for aria-label/class/style attributes (#435)
* fix: Correct template literals for aria-label attributes in PostMeta and Pagination components

* fix: Update template literals to use correct syntax in multiple components
2025-05-02 06:49:07 +09:00
Katsuyuki Karasawa 11535a9709 Fix category with reserved character (#431)
* 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 3194dfc521 fix: Encode URI components for tag links to handle reserved characters (#430)
* fix: Encode URI components for tag links to handle reserved characters

* delete: Remove reserved character test markdown file
2025-05-01 02:02:52 +09:00
jump-and-jump fc0d3fc0e2 fix: Remove useless calls during initialization (#295)
* fix: Remove useless calls during initialization

* fix: refactor search component and enhance search functionality

* fix: clean up code formatting and improve readability in Search component and global types

---------

Co-authored-by: jump-and-jump <984292420@qq.com>
Co-authored-by: L4Ph <4ranci0ne@gmail.com>
2025-04-28 20:39:53 +09:00
jump-and-jump 0b5d290d30 style: The search panel exceeds the entire page (#302) 2025-04-28 19:49:15 +09:00
foxton9 772f0a9a5e fix: TOC warning on home page (#402)
- conditionally render TOC for posts route;
- change warn to debug.
2025-04-28 19:48:36 +09:00
Katsuyuki Karasawa 0fe29c7aae fix: enhance link styling on hover and active states (#413) 2025-04-22 23:25:58 +09:00
jump-and-jump f8afc4f8be fix: Switch page error when fetch fails (#304) 2025-04-16 21:07:48 +09:00
Joey Chen 174c5d8efc fix: disallow crawling from /_astro/ (#399)
* fix: disallow crawling from `/_astro/`

* fix: add missing newline at end of robots.txt.ts file

---------

Co-authored-by: Joey Chen <JoeyC-Dev@users.noreply.github.com>
Co-authored-by: L4Ph <4ranci0ne@gmail.com>
2025-04-15 18:28:24 +09:00
jump-and-jump 8cceb83e81 fix: The banner configuration is not enabled, resulting in console error (#293)
* fix: The banner configuration is not enabled, resulting in console errors

* refactor: simplify banner visibility check and improve error handling in showBanner function

---------

Co-authored-by: jump-and-jump <984292420@qq.com>
Co-authored-by: L4Ph <4ranci0ne@gmail.com>
2025-04-09 21:36:28 +09:00
Carlos Company 9a21c0e9e1 Merge pull request #309 from CarlosCB1986/patch-4
Fixing License component layout overflow in small screens
2025-04-09 21:24:45 +09:00