mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-12 07:12:52 +01:00
8c6c7c9364c19c869c343a8afe54c6e1be808c9b
https://github.com/saicaca/hexo-theme-vivia/issues/42
Fuwari
Warning
This project is still very unfinished and the code is quite messy. Features may be changed or removed in the future.
Fuwari (not the final name maybe) is a static blog template built with Astro, a refactored version of hexo-theme-vivia.
✨ Features
- Built with Astro and Tailwind CSS
- View Transitions between pages
- Light / dark mode
- Customizable theme colors & banner
- Responsive design
- Comments
- Search
- TOC
🚀 How to Use
- Fork this repo.
- Edit the config file
src/config.tsto customize your blog. - Run
npm run new-post -- <filename>to create a new post and edit it insrc/content/posts/. - Deploy your blog to Vercel, Netlify, GitHub Pages, etc. following the guides.
⚙️ Frontmatter of Posts
---
title: My First Blog Post
published: 2023-09-09
description: This is the first post of my new Astro blog.
image: /images/cover.jpg
tags: [Foo, Bar]
category: Front-end
---
🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
npm run new-post -- <filename> |
Create a new post |
Languages
Astro
45%
TypeScript
18.3%
Svelte
11.3%
Stylus
10%
JavaScript
8.6%
Other
6.8%