person_blog
Go to file
saica.go b9489a51b3 chore: create LICENSE 2023-10-20 12:14:06 +08:00
public feat: regularize front-matter, add new-post command 2023-10-18 17:31:11 +08:00
scripts feat: regularize front-matter, add new-post command 2023-10-18 17:31:11 +08:00
src fix: accessibility fixes 2023-10-20 12:14:06 +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 feat: update README 2023-10-18 17:53:14 +08:00
astro.config.mjs fix: minor fixes 2023-10-18 02:34:18 +08:00
fuwari.config.yml feat: minor fixes 2023-10-18 21:24:51 +08:00
package-lock.json feat: minor fixes 2023-10-18 21:24:51 +08:00
package.json feat: minor fixes 2023-10-18 21:24:51 +08:00
pnpm-lock.yaml fix: minor fixes 2023-10-18 02:34:18 +08:00
tailwind.config.cjs feat: initial commit 2023-10-18 02:15:21 +08:00
tsconfig.json feat: post styles, next/prev post btn, display-settings, etc. 2023-10-18 02:15:23 +08:00
vercel.json feat: initial commit 2023-10-18 02:15:21 +08:00

README.md

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.

🖥️Live Demo (Vercel)

Features (Compared to the Hexo Version)

🚀 How to Use

  1. Fork this repo.
  2. Edit the config file fuwari.config.yml to customize your blog.
  3. Run npm 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.
cover:
  url: /images/cover.jpg
  alt: The cover image
tags: ['Foo', 'Bar']
---

🧞 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