English | 简体中文
A simple, fast and powerful blog & document theme built by Astro.
Note
Known issues: 1. Header & customize options is still under development (template exposed still). 2. Theme template v4.0.5^ UnoCSS preset changed to PresetMini. If there's any problem, please report as issue.
Checkout Demo Site →
- 🚀 Fast & high performance
- ⭐ Simple & clean design
- 📱 Responsive design
- 🔍 Full-site search built with pagefind
- 🗺️ Sitemap & RSS feed
- 🕸️ SEO-friendly
- 📖 TOC (table of contents)
- 🖼️ Dynamic open graph generation for posts
- 🖼️ Mediumzoom lightbox for images
Theme includes a lot of components, which can not only be used in the theme, but also in other astro projects.
For other astro projects, UnoCSS is required. See Package README for more details.
- Basic components:
Aside
,Tabs
,Timeline
,Steps
,Spoiler
... - Advanced components:
GithubCard
,LinkPreview
,Quote
,QRCode
...
See astro-theme-pure on npm.
Environment requirements:
- Nodejs: 18.0.0+
Clone the repository:
git clone https://github.com/cworld1/astro-theme-pure.git
cd astro-theme-pure
Useful commands:
# 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
To spend more time coding and less time fiddling with whitespace, this project uses code conventions and styles to encourage consistency. Code with a consistent style is easier (and less error-prone!) to review, maintain, and understand.
Other third party references are on Docs#Contributions. Appreciate for all open source libraries.
This project is licensed under the Apache 2.0 License.