English | 简体中文
一个由 Astro 构建的,轻便简洁、快速强大的博客 & 文档主题。
Note
已知问题:1. Head 标签和自定义选项仍在开发中(已经暴露模板直接改);2. 主题模板 v4.0.5^ CSS 预设被换到 PresetMini。如有任何问题,请及时反馈。
查看 预览 →
- 🚀 快速高性能
- ⭐ 简单干净的设计
- 📱 响应式设计
- 🔍 使用 pagefind 构建的全站搜索
- 🗺️ 站点地图和 RSS 订阅
- 🕸️ 友好的 SEO
- 📖 目录(table of contents)
- 🖼️ 动态为文章生成可供三方媒体预览的分享图像
- 🖼️ Mediumzoom 图像灯箱
主题包含了许多组件,不仅可以在主题中使用,还可以在其他 Astro 项目中使用。
其他 Astro 项目使用需要 UnoCSS。更多详情请查阅 Package README。
- 基础组件:
Aside、Tabs、Timeline、Steps、Spoiler... - 高级组件:
GithubCard、LinkPreview、Quote、QRCode...
在 NPM 上查看:astro-theme-pure
环境要求:
- Nodejs: 18.0.0+
克隆存储库:
git clone https://github.com/cworld1/astro-theme-pure.git
cd astro-theme-pure有用的命令:
# install dependencies
bun install
# start the dev server
bun dev
# build the project
bun run build
# preview (after the build)
bun preview
# create a new post
bun new-post为了花更多时间编写代码,减少在空白上纠结的时间,本项目使用代码约定和样式来鼓励一致性。风格一致的代码更容易(且更不容易出错)进行审查、维护和理解。
其他第三方参考资料在 Docs#Contributions 上。感谢所有开源库。
本项目基于 Apache 2.0 许可证。


