147 Commits

Author SHA1 Message Date
488c659a39 chore(deps): bump remark-directive from 3.0.1 to 4.0.0
Bumps [remark-directive](https://github.com/remarkjs/remark-directive) from 3.0.1 to 4.0.0.
- [Release notes](https://github.com/remarkjs/remark-directive/releases)
- [Commits](https://github.com/remarkjs/remark-directive/compare/3.0.1...4.0.0)

---
updated-dependencies:
- dependency-name: remark-directive
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-28 13:19:43 +00:00
75da123e09 chore: no pnpm lock 2025-03-28 21:17:46 +08:00
c03e9c6658 feat: 首页增加关于我的信息,更新依赖
- 首页增加个人简介和wakatime代码时间
- 更新pnpm版本
- 移除about页面,精简导航栏
- 增加最近更新组件,在归档页展示
- 移除notes的index
2025-03-28 21:13:04 +08:00
b5dd9d1f84 Update docs and sort content 2025-03-27 06:17:24 +00:00
ee9a8e4b0a Update docs and sort content 2025-03-27 06:01:12 +00:00
4c96c80101 Update README.md 2025-03-25 18:02:26 +08:00
fa09ed5bc1 Updated with the latest blog posts 2025-03-24 16:04:46 +00:00
07d4fcbc19 Update docs and sort content 2025-03-24 16:01:14 +00:00
a563602baf Updated with the latest blog posts 2025-03-24 15:04:26 +00:00
a7f416df4f docs: 添加个人歌词本链接到自我介绍页 2025-03-24 22:54:18 +08:00
6dfdcc2234 Update docs and sort content 2025-03-24 14:31:49 +00:00
c3ff39ab6e Update docs and sort content 2025-03-24 13:30:59 +00:00
e4d7129465 Update docs and sort content 2025-03-24 13:14:37 +00:00
c8c0250793 Updated with the latest blog posts 2025-03-24 13:10:24 +00:00
73d962248a Update docs and sort content 2025-03-24 12:44:10 +00:00
0149481062 feat: 添加自我介绍组件并将其集成到主页和关于页面 2025-03-24 18:41:57 +08:00
f3547b2e51 Update docs and sort content 2025-03-20 10:18:04 +00:00
ed3119e37d Updated with the latest blog posts 2025-03-20 10:04:44 +00:00
723151fad0 Update docs and sort content 2025-03-20 09:20:37 +00:00
befe3b6f11 Updated with the latest blog posts 2025-03-20 09:04:15 +00:00
433d2f1152 Update docs and sort content 2025-03-20 08:57:34 +00:00
207d923ee7 style: 优化文章图片加载样式 2025-03-20 14:13:16 +08:00
535082b945 Updated with the latest blog posts 2025-03-20 06:05:34 +00:00
cc89da80d8 Update docs and sort content 2025-03-20 05:56:54 +00:00
0c8cae5bea Update docs and sort content 2025-03-20 05:37:01 +00:00
f8e73888d1 Updated with the latest blog posts 2025-03-15 23:03:39 +00:00
53487b36e7 Updated with the latest blog posts 2025-03-15 22:03:42 +00:00
6a3b085635 Updated with the latest blog posts 2025-03-15 21:03:38 +00:00
85ac5bcda1 Updated with the latest blog posts 2025-03-15 20:03:55 +00:00
1b16e54e09 Updated with the latest blog posts 2025-03-15 19:03:28 +00:00
4705878c1d Updated with the latest blog posts 2025-03-15 18:04:36 +00:00
e31323397b Updated with the latest blog posts 2025-03-15 17:03:33 +00:00
b5502d4cbe Updated with the latest blog posts 2025-03-15 16:03:55 +00:00
09b8958141 Update docs and sort content 2025-03-15 15:52:35 +00:00
ac1173786f Update docs and sort content 2025-03-15 15:49:05 +00:00
55040baff5 Updated with the latest blog posts 2025-03-07 02:28:28 +00:00
b2b1ba6dcd Update docs and sort content 2025-03-07 02:21:53 +00:00
66ec490344 Updated with the latest blog posts 2025-03-06 08:05:05 +00:00
39652a9e90 Update docs and sort content 2025-03-06 07:27:17 +00:00
4feb5e95af fix: 修复归档页面链接生成错误
-   修复归档页面中文章链接生成错误的问题
-   根据文章类型(post或note)动态生成链接,将post指向/posts/,note指向/notes/
2025-03-06 15:18:16 +08:00
a9879a68b1 Update docs and sort content 2025-03-06 07:11:30 +00:00
8e7273da0c Updated with the latest blog posts 2025-03-05 10:04:10 +00:00
807cf650f8 Updated with the latest blog posts 2025-03-05 09:04:09 +00:00
b7bf1eab35 style(footer): 调整页脚链接样式以支持折行
- 修改页脚链接的 flex 布局,从 `gap-x-2 sm:gap-x-0` 改为 `flex-wrap gap-x-2 sm:gap-x-0`,使其支持折行。
- 调整链接的内边距,在小屏幕上使用 `px-2 py-2`,在大屏幕上使用 `sm:px-4 sm:py-0`,以优化在小屏幕上的显示效果。
2025-03-05 16:36:49 +08:00
b931b14013 fix(notes): 移除多余的预览链接
- 移除 `/notes/[...page].astro` 中多余的预览链接。
2025-03-05 16:16:30 +08:00
e123d5928a Merge branch 'main' of https://github.com/KazooTTT/kazoottt-blog-v2 2025-03-05 16:14:59 +08:00
e6a88b73af feat(blog): 重构文章和笔记展示,优化分类和标签 2025-03-05 16:14:05 +08:00
c36acc92c6 Updated with the latest blog posts 2025-03-05 08:05:01 +00:00
79e12689c9 Updated with the latest blog posts 2025-03-05 07:04:08 +00:00
013ede32a4 Merge branch 'main' of https://github.com/KazooTTT/kazoottt-blog-v2 2025-03-05 14:26:11 +08:00
ee3068bc18 fix: 移动 ads.txt 文件 2025-03-05 14:26:06 +08:00
99b2d194bb Updated with the latest blog posts 2025-03-04 12:06:14 +00:00
f37e2a10bb Update docs and sort content 2025-03-04 11:07:00 +00:00
ca268a37dc Update docs and sort content 2025-03-04 07:57:37 +00:00
1a40d05221 Updated with the latest blog posts 2025-03-04 07:04:09 +00:00
f5085a2490 Updated with the latest blog posts 2025-03-04 07:04:06 +00:00
0fc8c6cb80 feat(content): 支持内容集合中可选的日期字段 2025-03-04 14:08:17 +08:00
5a7c9eced0 Updated with the latest blog posts 2025-03-04 06:05:10 +00:00
45bbf23dbc Update docs and sort content 2025-03-04 05:52:40 +00:00
66cbee31df Updated with the latest blog posts 2025-03-03 09:04:49 +00:00
ae886f5596 Updated with the latest blog posts 2025-03-03 08:05:41 +00:00
fcf0f24937 Updated with the latest blog posts 2025-03-03 07:04:17 +00:00
10abfc34a7 Update docs and sort content 2025-03-03 06:20:42 +00:00
c5eca7b064 Update docs and sort content 2025-03-03 06:12:56 +00:00
6b7e3f1b70 Update docs and sort content 2025-03-03 06:00:44 +00:00
c12699b65c Update docs and sort content 2025-03-03 05:48:17 +00:00
937eee5627 Update docs and sort content 2025-03-03 03:51:30 +00:00
6dee4650b9 Updated with the latest blog posts 2025-02-28 02:27:51 +00:00
0e9ad45b65 Update main.yml 2025-02-28 10:20:08 +08:00
fd1bbcbf21 Updated with the latest blog posts 2025-02-27 07:03:59 +00:00
47473a34f9 Update docs and sort content 2025-02-27 06:27:49 +00:00
fdd2768e0c Update docs and sort content 2025-02-25 03:56:48 +00:00
57ee25f4f3 fix: add number type parse 2025-02-25 11:55:07 +08:00
58f4e095b5 Update docs and sort content 2025-02-25 03:25:15 +00:00
64383959c0 Update docs and sort content 2025-02-24 15:37:36 +00:00
bb1b0eaa5b Updated with the latest blog posts 2025-02-24 08:05:39 +00:00
2bfda8024b Updated with the latest blog posts 2025-02-24 07:04:21 +00:00
0cf1cbb56a Update docs and sort content 2025-02-24 06:33:22 +00:00
e2e98f9cc7 feat: update rss config 2025-02-24 14:19:48 +08:00
c037d61e49 Merge branch 'main' of https://github.com/KazooTTT/kazoottt-blog-v2 2025-02-24 14:05:41 +08:00
ab931dd953 fix: update feed id for notes 2025-02-24 14:05:37 +08:00
0eba98f263 Updated with the latest blog posts 2025-02-24 06:05:32 +00:00
50d4e72216 fix: 修复未分类的筛选 2025-02-24 13:38:26 +08:00
b3004795f0 Updated with the latest blog posts 2025-02-23 19:03:14 +00:00
92aa02ed46 Updated with the latest blog posts 2025-02-23 18:04:30 +00:00
e7d79d1733 Updated with the latest blog posts 2025-02-23 17:03:34 +00:00
f5a8cd1a06 Update docs and sort content 2025-02-23 16:16:20 +00:00
e5a5192922 Update docs and sort content 2025-02-23 16:12:23 +00:00
7037b5a0fb Update docs and sort content 2025-02-23 16:07:15 +00:00
ab9ca1ba14 Update docs and sort content 2025-02-22 03:48:20 +00:00
57edf2f4e6 Updated with the latest blog posts 2025-02-21 15:03:58 +00:00
b187b8c9ca Update docs and sort content 2025-02-21 14:24:53 +00:00
0e5bf1e01e Updated with the latest blog posts 2025-02-21 14:03:24 +00:00
c57de061be Update docs and sort content 2025-02-21 14:02:31 +00:00
56d4cc877e Merge branch 'main' of https://github.com/KazooTTT/kazoottt-blog-v2 2025-02-21 21:58:29 +08:00
eeed2a201b feat: update date sorting function in notes pages 2025-02-21 21:58:26 +08:00
cf0ed3decd Updated with the latest blog posts 2025-02-21 13:07:45 +00:00
3e4539ddbe Merge branch 'main' of https://github.com/KazooTTT/kazoottt-blog-v2 2025-02-21 20:53:38 +08:00
d3f479d891 feat: change the sort priority 2025-02-21 20:53:36 +08:00
27d1849336 Update docs and sort content 2025-02-21 12:49:28 +00:00
8390d757ea Update docs and sort content 2025-02-21 12:43:48 +00:00
a25ea16c36 Update docs and sort content 2025-02-21 12:39:07 +00:00
febcdb06a4 fix: cf 直接重定向,移除astro配置 2025-02-21 20:27:36 +08:00
a9928d78c8 fix: error directory name 2025-02-21 19:31:59 +08:00
d70d2af9d1 Update docs and sort content 2025-02-21 11:19:40 +00:00
4288d472c7 feat: 优化重定向的写法 2025-02-21 15:44:50 +08:00
2fd907f3e8 Update docs and sort content 2025-02-21 03:39:38 +00:00
95fed683c8 Update docs and sort content 2025-02-21 03:23:48 +00:00
492e9bac78 Update docs and sort content 2025-02-21 02:54:17 +00:00
4fe221acf1 Update docs and sort content 2025-02-19 17:59:49 +00:00
1c36e3f5ec Update docs and sort content 2025-02-19 17:36:53 +00:00
a2bef5b7ad feat: enable notes rss 2025-02-20 01:32:27 +08:00
dd87317456 Update docs and sort content 2025-02-19 17:30:11 +00:00
795af34d25 Updated with the latest blog posts 2025-02-19 16:04:21 +00:00
857eb8b1f8 Updated with the latest blog posts 2025-02-19 15:04:08 +00:00
ccf89cfb95 Updated with the latest blog posts 2025-02-19 14:04:00 +00:00
033aff4018 Update docs and sort content 2025-02-19 13:20:27 +00:00
3a1aebd718 Update docs and sort content 2025-02-19 13:18:28 +00:00
4bf67ab53a Update docs and sort content 2025-02-19 13:05:22 +00:00
f2cf86e9d0 Update docs and sort content 2025-02-19 11:06:41 +00:00
7bbe51e4bd chore: Add kazoottt.top domain to image configuration 2025-02-19 18:32:21 +08:00
a90b31a668 Update docs and sort content 2025-02-19 10:23:27 +00:00
d3240e607c fix: add the site path for rss 2025-02-19 18:22:10 +08:00
f5655ef972 Updated with the latest blog posts 2025-02-19 05:03:53 +00:00
80c2ee94a9 Updated with the latest blog posts 2025-02-19 04:04:39 +00:00
66478bb19a Update docs and sort content 2025-02-19 03:50:29 +00:00
c20c2a39b5 Updated with the latest blog posts 2025-02-16 19:04:16 +00:00
d2f9072d90 Updated with the latest blog posts 2025-02-16 18:04:05 +00:00
5d2123077d Updated with the latest blog posts 2025-02-16 17:03:52 +00:00
71a46f6eee Updated with the latest blog posts 2025-02-16 16:03:46 +00:00
de56f79e7d Updated with the latest blog posts 2025-02-16 15:03:27 +00:00
8e20625972 Updated with the latest blog posts 2025-02-16 14:04:16 +00:00
d42c581794 Update docs and sort content 2025-02-16 13:49:26 +00:00
35853958d2 Update docs and sort content 2025-02-16 12:11:53 +00:00
fa9476ca80 Updated with the latest blog posts 2025-02-16 12:07:00 +00:00
6bea8d12e6 feat: add quote type 2025-02-16 19:48:54 +08:00
67698eed22 Update docs and sort content 2025-02-16 11:38:49 +00:00
6639493f18 fix: show the title only if the list has items 2025-02-14 19:01:57 +08:00
3af73ab320 feat: 新增置顶文章 2025-02-14 18:59:28 +08:00
c7b012a891 Update docs and sort content 2025-02-14 10:53:40 +00:00
7912a06e82 feat: change the sort of the components 2025-02-14 18:45:08 +08:00
e334636663 Update docs and sort content 2025-02-14 08:33:30 +00:00
723b29e9d5 Updated with the latest blog posts 2025-02-14 08:04:49 +00:00
527e98e0d1 fix: Correct summary card display condition in Note component 2025-02-14 15:44:38 +08:00
cd6388c0d6 feat: Add summary card to note components 2025-02-14 15:41:27 +08:00
902d84dded Update docs and sort content 2025-02-14 07:31:48 +00:00
9a5bea6580 Update docs and sort content 2025-02-14 07:24:46 +00:00
312 changed files with 6314 additions and 11159 deletions

View File

@ -14,7 +14,7 @@ jobs:
- name: Pull in dev.to posts
uses: gautamkrishnar/blog-post-workflow@v1
with:
template: $newline - [$date 【$categories】 $title]($url)
template: $newline - [$date $title]($url)
date_format: "yyyy-mm-dd"
feed_list: "https://blog.kazoottt.top/rss.xml"
max_post_count: 25

View File

@ -1,52 +1,15 @@
# KazooTTT | 声控烤箱 博客
## [Blog](https://blog.kazoottt.top/posts/)
<!-- BLOG-POST-LIST:START -->
- [2025-02-09 【周报】 2025-W06](https://blog.kazoottt.top/posts/2025-W06/)
- [2025-02-09 【前端】 不引入astro wiki plugin实现链接跳转的思路](https://blog.kazoottt.top/posts/redirect-links-without-astro-wiki-plugin/)
- [2025-02-06 【软件】 Obsidian Web Clipper 离线阅读同人作品](https://blog.kazoottt.top/posts/obsidian-web-clipper-offline-reading-fanfics/)
- [2025-02-01 【软件】 封面生成器推荐](https://blog.kazoottt.top/posts/cover-generator/)
- [2025-01-30 【年报】 Y5-2024年度总结](https://blog.kazoottt.top/posts/2024-annual-summary/)
- [2025-01-14 【frontend】 how to generate the path like router config in vite + react + react-router project](https://blog.kazoottt.top/posts/how-to-generate-the-path-like-router-config-in-vite-react-react-router-project/)
- [2025-01-12 【随笔】 “原来亲人在侧,是我最深重的感谢”](https://blog.kazoottt.top/posts/plain-and-simple-is-true/)
- [2025-01-07 【随笔】 ollama + excel处理器开发总结](https://blog.kazoottt.top/posts/ollama-excel-processor-development-summary/)
- [2025-01-06 【项目】 MUV家元旦24H限定食堂 - 汇总网站](https://blog.kazoottt.top/posts/milklovemuv/)
- [2024-12-19 【推荐】 值得一看的博客](https://blog.kazoottt.top/posts/blogs-worth-reading/)
- [2024-12-18 【】 与hanser有关的github仓库](https://blog.kazoottt.top/posts/hanser-repository/)
- [2024-12-17 【】 Share My Incorrect Usage Cases of Zustand](https://blog.kazoottt.top/posts/share-my-incorrect-usage-case-of-zustand-en/)
- [2024-12-17 【前端】 分享一下我的zustand错误使用案例](https://blog.kazoottt.top/posts/zustand-use-record/)
- [2024-12-11 【】 raycast + imessage 2famessauto的半平替](https://blog.kazoottt.top/posts/raycast-imessage-2fa/)
- [2024-11-29 【】 使用github action定时同步obsidian内容到博客仓库](https://blog.kazoottt.top/posts/synchronize-profiles-to-remote-and-local-on-a-regular-basis/)
- [2024-11-23 【软件】 个人工具与设备清单](https://blog.kazoottt.top/posts/personal-tools-and-equipment-inventory-202502/)
- [2024-11-12 【旅行】 五一 上海-重庆-成都流水账](https://blog.kazoottt.top/posts/may-1st-shanghai-chongqing-chengdu-flow-account/)
- [2024-09-02 【旅行】 2024 永不完结的冒险 武汉线下vlog](https://blog.kazoottt.top/posts/yukari-2024-live/)
- [2024-07-30 【项目】 微信读书网页版复制快捷键](https://blog.kazoottt.top/posts/wechat-reading-web-version-copy-shortcut/)
- [2024-07-17 【旅行】 BW记录-个人向流水账版](https://blog.kazoottt.top/posts/bw-record-personal-notes/)
- [2024-07-11 【周报】 2024-W03.md](https://blog.kazoottt.top/posts/2024-W03/)
- [2024-07-11 【周报】 2024-W03-编程篇](https://blog.kazoottt.top/posts/2024-W03-programming/)
- [2024-07-11 【周报】 2023-W48 转岗了](https://blog.kazoottt.top/posts/2023-W48/)
- [2024-07-08 【旅行】 端午去广州玩了](https://blog.kazoottt.top/posts/duanwu-guangzhou-trip/)
- [2024-07-01 【软件】 如何自动同步某个文件夹的图片到某个相册中](https://blog.kazoottt.top/posts/auto-sync-folder-to-album/)<!-- BLOG-POST-LIST:END -->
## 关于我
无论是博客还是笔记,最重要的服务对象是我自己。
[平台合集](<https://bento.me/kazoottt>)
[个人博客Blog](<https://blog.kazoottt.top/>)
[个人笔记 Notes](<https://notes.kazoottt.top/>)
[GitHub](<https://github.com/KazooTTT>)
## [Memos](https://blog.kazoottt.top/notes/)
<!-- MEMO-POST-LIST:START -->
- [2025-02-11 碎片-2025-02-11 12时32分](https://blog.kazoottt.top/notes/fragmented-notes-2025-02-11-12-32-42/)
- [2025-02-08 如何解决 Nginx 启动时未联网无法访问DNS而挂掉的问题](https://blog.kazoottt.top/notes/nginx-startup-fix-configure-local-hosts-file/)
- [2025-02-06 小红书长文切图笔记?其实 craft 就可以实现。](https://blog.kazoottt.top/notes/use-craft-to-cut-the-long-text-note-of-xiaohongshu/)
- [2025-02-06 试试action5 pro推流到本地rtmp和有线连接的效果](https://blog.kazoottt.top/notes/action5-pro-obs-rtmp/)
- [2025-02-05 askfm的关停](https://blog.kazoottt.top/notes/askfm-shutdown/)
- [2025-02-05 使用 1password 的 secure notes 存储提示词](https://blog.kazoottt.top/notes/use-1password-secure-notes-to-store-prompt-templates/)
- [2025-02-03 记录一次滴滴打车维权](https://blog.kazoottt.top/notes/record-a-ride-sharing-complaint/)
- [2025-01-31 Blender on macOS - Steam Version Limitations for Apple Silicon Devices](https://blog.kazoottt.top/notes/blender-macos-steam-version-limitations/)
- [2025-01-31 How to Split Editor Windows in Blender](https://blog.kazoottt.top/notes/split-window-in-blender/)
- [2025-01-20 How to Separate Objects in Blender](https://blog.kazoottt.top/notes/how-to-separate-object-in-blender/)
- [2025-01-20 win11如何下载chatgpt](https://blog.kazoottt.top/notes/win11chatgpt/)
- [2025-01-15 how to make a hollow cylinder in blender](https://blog.kazoottt.top/notes/how-to-make-a-hollow-cylinder-in-blender/)
- [2025-01-07 在浏览器中 opengl 的配置与检测](https://blog.kazoottt.top/notes/how-to-check-opengl-configuration-and-detection-in-browser/)
- [2025-01-06 2025-01-06 星期一](https://blog.kazoottt.top/notes/diary-2025-01-06/)
- [2025-01-06 MUV家元旦24H限定食堂 - 汇总网站](https://blog.kazoottt.top/notes/milklovemuv/)
- [2025-01-05 whisper ui 下载模型 镜像设置](https://blog.kazoottt.top/notes/whisper-ui-download-model-mirror-setting/)
- [2024-12-23 2024-12-23 星期一 学习 unity day01](https://blog.kazoottt.top/notes/diary-2024-12-23/)
- [2024-12-19 2024-12-19 星期四](https://blog.kazoottt.top/notes/diary-2024-12-19/)
- [2024-12-19 使用cloudflare部署remix项目](https://blog.kazoottt.top/notes/deploy-remix-app-by-cloudflare/)
- [2024-12-19 合并多个PDF](https://blog.kazoottt.top/notes/merge-pdfs/)<!-- MEMO-POST-LIST:END -->

View File

@ -26,7 +26,7 @@ import rehypeUnwrapImages from "rehype-unwrap-images";
export default defineConfig({
site: siteConfig.url,
image: {
domains: ["webmention.io"],
domains: ["webmention.io", "kazoottt.top"],
service: passthroughImageService(),
},
integrations: [

View File

@ -21,7 +21,7 @@
"@astrojs/rss": "4.0.11",
"@astrojs/sitemap": "3.2.1",
"@giscus/react": "^3.1.0",
"@tailwindcss/vite": "4.0.3",
"@tailwindcss/vite": "4.0.7",
"astro": "5.2.5",
"astro-expressive-code": "^0.40.1",
"astro-icon": "^1.1.5",
@ -40,7 +40,7 @@
"rehype-autolink-headings": "^7.1.0",
"rehype-external-links": "^3.0.0",
"rehype-unwrap-images": "^1.0.0",
"remark-directive": "^3.0.1",
"remark-directive": "^4.0.0",
"sanitize-html": "^2.14.0",
"satori": "0.12.1",
"satori-html": "^0.3.2",
@ -66,7 +66,8 @@
"prettier-plugin-astro": "0.14.1",
"prettier-plugin-tailwindcss": "^0.6.11",
"reading-time": "^1.5.0",
"tailwindcss": "4.0.4",
"tailwindcss": "4.0.7",
"typescript": "^5.7.3"
}
},
"packageManager": "pnpm@10.7.0+sha512.6b865ad4b62a1d9842b61d674a393903b871d9244954f652b8842c2b553c72176b278f64c463e52d40fff8aba385c235c8c9ecf5cc7de4fd78b8bb6d49633ab6"
}

7734
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

View File

Before

Width:  |  Height:  |  Size: 458 KiB

After

Width:  |  Height:  |  Size: 458 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 847 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 827 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

View File

@ -61,19 +61,16 @@ const { className = "", dataPagefindBody = true } = Astro.props;
/* 修改图片相关样式 */
:global(article img) {
opacity: 0;
position: relative;
background-color: #f0f0f0;
transition: all 0.5s ease-in-out;
}
:global(article img.loading) {
opacity: 1;
filter: blur(10px);
}
:global(article img.loaded) {
opacity: 1;
filter: blur(0);
}
</style>

View File

@ -0,0 +1,30 @@
---
import { getAllCollectionPosts } from "@/data/post";
import { MAX_LATEST_POSTS } from "@/utils/constant";
import { getLatestUpdatedPost } from "@/utils/date";
const allPosts = await getAllCollectionPosts();
const latestUpdatedPost = allPosts.sort(getLatestUpdatedPost).slice(0, MAX_LATEST_POSTS);
---
{
(
<div>
<h2 class="title mb-4 flex items-center gap-2 text-lg">
<a class="">最近更新</a>
</h2>
<ul class="flex flex-wrap gap-2">
{latestUpdatedPost.map((post) => (
<li>
<a
href={`${post.collection === "post" ? "/posts/" : "/notes/"}${post.id}/`}
class="hover:text-link"
>
<span>{post.data.date_modified.toLocaleDateString()}</span>
{post.data.title}
</a>
</li>
))}
</ul>
</div>
)
}

View File

@ -27,6 +27,16 @@ const socialLinks: {
link: "https://x.com/kazoottt",
name: "mdi:twitter",
},
{
friendlyName: "Bilibili",
link: "https://space.bilibili.com/391236013",
name: "mdi:video",
},
{
friendlyName: "YouTube",
link: "https://www.youtube.com/@kazoottt4718",
name: "mdi:youtube",
},
{
friendlyName: "Photo",
link: "https://unsplash.com/@kazoottt",
@ -35,7 +45,7 @@ const socialLinks: {
{
friendlyName: "汇总",
link: "https://bento.me/KazooTTT",
name: "mdi:link",
name: "mdi:open-in-new",
},
];
---

View File

@ -1,18 +1,18 @@
---
import type { CollectionEntry } from "astro:content";
import FormattedDate from "@/components/FormattedDate.astro";
import Card from "../componentsBefore/Card.astro";
import { Icon } from "astro-icon/components";
import Label from "../componentsBefore/Label.astro";
import type { PostItem } from "@/types";
interface Props {
content: CollectionEntry<"post">;
content: PostItem;
readingTime: string;
ogImage: string;
}
const {
content: { data },
content: { data, dateToCmp },
readingTime,
ogImage,
} = Astro.props;
@ -27,13 +27,7 @@ const socialImageURL = new URL(ogImage ? ogImage : "/social-card.png", Astro.url
{
socialImageURL && (
<div class="mb-6 aspect-video">
<img
alt={socialImageURL}
class="rounded-lg object-cover"
fetchpriority="high"
loading="eager"
src={socialImageURL}
/>
<img alt={socialImageURL} class="rounded-lg object-cover" src={socialImageURL} />
</div>
)
}
@ -54,7 +48,7 @@ const socialImageURL = new URL(ogImage ? ogImage : "/social-card.png", Astro.url
</h1>
<div class="flex flex-wrap items-center gap-x-3 gap-y-2">
<p class="font-semibold">
<FormattedDate date={data.date} dateTimeOptions={dateTimeOptions} /> /{" "}
<FormattedDate date={dateToCmp} dateTimeOptions={dateTimeOptions} /> /{" "}
{readingTime}
</p>
{

View File

@ -1,10 +1,10 @@
---
import type { CollectionEntry } from "astro:content";
import FormattedDate from "@/components/FormattedDate.astro";
import type { HTMLTag, Polymorphic } from "astro/types";
import type { AllItem } from "@/types";
type Props<Tag extends HTMLTag> = Polymorphic<{ as: Tag }> & {
post: CollectionEntry<"post">;
post: AllItem;
withDesc?: boolean;
};
@ -17,7 +17,12 @@ const { as: Tag = "div", post, withDesc = false } = Astro.props;
/>
<Tag>
{post.data.draft && <span class="text-red-500">(Draft) </span>}
<a class="cactus-link" data-astro-prefetch href={`/posts/${post.id}/`}>
<a
class="hover:text-link"
data-astro-prefetch
href={`${post.collection === "post" ? "/posts/" : "/notes/"}${post.id}/`}
>
{post.data.fixedToTop && <span class="text-accent-2 mr-2">*</span>}
{post.data.title}
</a>
</Tag>

View File

@ -23,12 +23,15 @@ const year = new Date().getFullYear();
</div>
<nav
aria-labelledby="footer_links"
class="flex gap-x-2 sm:gap-x-0 sm:divide-x sm:divide-gray-500"
class="flex flex-wrap gap-x-2 sm:gap-x-0 sm:divide-x sm:divide-gray-500"
>
<p id="footer_links" class="sr-only">More on this site</p>
{
menuLinks.map((link) => (
<a class="hover:text-global-text px-4 py-2 hover:underline sm:py-0" href={link.path}>
<a
class="hover:text-global-text px-2 py-2 hover:underline sm:px-4 sm:py-0"
href={link.path}
>
{link.title}
</a>
))

View File

@ -1,5 +1,5 @@
---
import { type CollectionEntry, render } from "astro:content";
import { render } from "astro:content";
import FormattedDate from "@/components/FormattedDate.astro";
import type { HTMLTag, Polymorphic } from "astro/types";
import GiscusComment from "@/components/componentsBefore/GiscusComment";
@ -7,8 +7,10 @@ import ArticleContainer from "../ArticleContainer.astro";
import ShareButtons from "../ShareButtons.astro";
import ContentFooter from "../ContentFooter.astro";
import { cn } from "@/utils/tailwind";
import Card from "../componentsBefore/Card.astro";
import type { NoteItem } from "@/types";
type Props<Tag extends HTMLTag> = Polymorphic<{ as: Tag }> & {
note: CollectionEntry<"note">;
note: NoteItem;
isPreview?: boolean | undefined;
index?: number;
enableLineClamp?: boolean;
@ -77,10 +79,19 @@ if (modifiedDate && modifiedDate.toDateString() === date.toDateString()) {
enableLineClamp && "line-clamp-4"
)}
>
{
!isPreview && note.data.description && note.data.description.trim().length > 0 && (
<Card heading="摘要由llm生成" altText="摘要" class="my-4 w-full">
<div class="text-muted-foreground ml-4">{note.data.description}</div>
</Card>
)
}
<Content />
</div>
</div>
{!isPreview && <ContentFooter />}
{!isPreview && <GiscusComment client:load />}
{
!isPreview && (
@ -89,6 +100,4 @@ if (modifiedDate && modifiedDate.toDateString() === date.toDateString()) {
</div>
)
}
{!isPreview && <ContentFooter />}
</ArticleContainer>

Some files were not shown because too many files have changed in this diff Show More