修改网站的favicon,并将favicon迁移到site.ts中

This commit is contained in:
2026-09-20 20:59:26 +08:00
parent eca2ad599f
commit 081d5fa65f
18 changed files with 120 additions and 11 deletions
+2 -1
View File
@@ -4,7 +4,7 @@
* pnpm new-post "文章标题"
* pnpm new-post "树莓派装 Docker" --category 教程 --tags Docker,树莓派
* pnpm new-post "读《XX》有感" --category 思考 --description "摘要" --pinned
* pnpm new-post "标题" --file my-custom-slug --category 建站
* pnpm new-post "标题" --file 文件名 --slug my-custom-slug --category 建站
*
* 不加 --category 时文件放在 src/content/posts/ 根目录;
* 加了则同时写进 frontmatter 的 category 并放进同名子目录,和现有文章结构一致。
@@ -38,6 +38,7 @@ if (args.length === 0 || args[0] === "--help" || args[0] === "-h") {
--category <分类> 分类名,同时决定存放的子目录
--file <文件名> 自定义文件名(默认用标题)
--tags <标签,标签> 标签,逗号分隔
--slug <英文主题> 通常使用文章标题的英文缩写,Astro博客自带的属性
--description <摘要> 摘要,用于 SEO 和列表卡片
--image <路径> 封面图,public 下的绝对路径
--pinned 置顶