blog-robertops-v2/README.md
L4Ph 197d524b53
feat: add FrontMatter CMS, biome, translation, etc.
* add Frontmatter CMS

* add biome

* update

* update

* fixed & add docs

* fix translation.ts

* fix translation
2024-01-21 12:54:41 +08:00

2.4 KiB

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)

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

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
pnpm install Installs dependencies
pnpm run dev Starts local dev server at localhost:4321
pnpm run build Build your production site to ./dist/
pnpm run preview Preview your build locally, before deploying
pnpm run astro ... Run CLI commands like astro add, astro check
pnpm run astro -- --help Get help using the Astro CLI
pnpm run new-post -- <filename> Create a new post