Skip to content

Latest commit

 

History

History
99 lines (65 loc) · 3.42 KB

File metadata and controls

99 lines (65 loc) · 3.42 KB

Astro Theme Pure

English | 简体中文

一个由 Astro 构建的,轻便简洁、快速强大的博客 & 文档主题。

GitHub deployments NPM Version GitHub Release GitHub License

image image

Note

已知问题:Head 标签和自定义选项仍在开发中(已暴露模板用于修改)

简介

查看 预览 →

🔥 特性

  • 🚀 快速高性能
  • ⭐ 简单干净的设计
  • 📱 响应式设计
  • 🔍 使用 pagefind 构建的全站搜索
  • 🗺️ 站点地图和 RSS 订阅
  • 🕸️ 友好的 SEO
  • 📖 目录(table of contents)
  • 🖼️ 动态为文章生成可供三方媒体预览的分享图像
  • 🖼️ Mediumzoom 图像灯箱

📦 组件

主题包含了许多组件,不仅可以在主题中使用,还可以在其他 Astro 项目中使用。

其他 Astro 项目使用需要 UnoCSS。更多详情请查阅 Package README

  • 基础组件:AsideTabsTimelineStepsSpoiler...
  • 高级组件:GithubCardLinkPreviewQuoteQRCode...

✅ Lighthouse 分数

lighthouse-score

文档

文档 | 展示台

NPM 包

在 NPM 上查看:astro-theme-pure

本地开发

环境要求:

克隆存储库:

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 pure new

贡献

为了花更多时间编写代码,减少在空白上纠结的时间,本项目使用代码约定和样式来鼓励一致性。风格一致的代码更容易(且更不容易出错)进行审查、维护和理解。

鸣谢

其他第三方参考资料在 Docs#Contributions 上。感谢所有开源库。

许可证

本项目基于 Apache 2.0 许可证。

Star History Chart