Skip to content

Teadrink521/My-Blog

Repository files navigation

自用blog,下面这些仅为给自己留给备份,已经大幅度魔改了

⚙️ 文章 Frontmatter

---
title: My First Blog Post
published: 2023-09-09
description: This is the first post of my new Astro blog.
image: ./cover.jpg  # 或使用 "api" 来启用随机封面图
tags: [Foo, Bar]
category: Front-end
draft: false
lang: zh-CN      # 仅当文章语言与 `siteConfig.ts` 中的网站语言不同时需要设置
pinned: false    # 置顶
comment: true    # 是否允许评论
---

🧩 Markdown 扩展语法

除了 Astro 默认支持的 GitHub Flavored Markdown 之外,还包含了一些额外的 Markdown 功能:

🧞 指令

下列指令均需要在项目根目录执行:

Command Action
pnpm install 安装依赖
pnpm dev localhost:4321 启动本地开发服务器
pnpm build 构建网站至 ./dist/
pnpm preview 本地预览已构建的网站
pnpm check 检查代码中的错误
pnpm format 使用Biome格式化您的代码
pnpm new-post <filename> 创建新文章
pnpm astro ... 执行 astro add, astro check 等指令
pnpm astro --help 显示 Astro CLI 帮助

构建要求

框架预设: Astro

根目录: ./

输出目录: dist

构建命令: pnpm run build

安装命令: pnpm install


📖 README: 简体中文 | 繁體中文 | English | 日本語 | Русский

📝 许可协议

本项目遵循 MIT license 开源协议,详细查看 LICENSE 文件

最初 Fork 自 saicaca/fuwari,感谢原作者的贡献

版权声明:

根据 MIT 开源协议,你可以自由使用、修改、分发代码,但需保留上述版权声明。

About

自用blog

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors