person_blog
Go to file
saicaca e64bd923da fix: a11y fixes 2024-03-12 12:37:49 +08:00
.vscode feat: add FrontMatter CMS, biome, translation, etc. 2024-01-21 12:54:41 +08:00
public/favicon refactor: code cleanup 2024-02-18 18:26:40 +08:00
scripts refactor: code cleanup 2024-02-18 18:26:40 +08:00
src fix: a11y fixes 2024-03-12 12:37:49 +08:00
.gitignore feat: initial commit 2023-10-18 02:15:21 +08:00
LICENSE chore: create LICENSE 2023-10-20 12:14:06 +08:00
README.md refactor: code cleanup 2024-02-18 18:26:40 +08:00
astro.config.mjs refactor: code cleanup 2024-02-18 18:26:40 +08:00
biome.json feat: add FrontMatter CMS, biome, translation, etc. 2024-01-21 12:54:41 +08:00
frontmatter.json feat: add FrontMatter CMS, biome, translation, etc. 2024-01-21 12:54:41 +08:00
package.json chore: remove sharp dependency 2024-02-22 21:54:06 +08:00
pnpm-lock.yaml chore: remove sharp dependency 2024-02-22 21:54:06 +08:00
tailwind.config.cjs feat: add FrontMatter CMS, biome, translation, etc. 2024-01-21 12:54:41 +08:00
tsconfig.json feat: make 'uncategorized' a category 2024-01-21 20:21:04 +08:00
vercel.json fix: url `/page/1` -> `/`, `/page/2` -> `/2` 2024-02-18 18:26:40 +08:00

README.md

Fuwari

Fuwari is a static blog template built with Astro, a refactored version of hexo-theme-vivia.

🖥️Live Demo (Vercel)

Preview Image

Features

🚀 How to Use

  1. Generate a new repository from this template.
  2. Edit the config file src/config.ts to customize your blog.
  3. Run npm run new-post -- <filename> or pnpm run new-post <filename> to create a new post and edit it in src/content/posts/.
  4. 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
draft: false
---

🧞 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>
pnpm run new-post <filename>
Create a new post