Skip to content

Plumbiu/blog

Repository files navigation

Performance

Phone: phone-scores

PC: pc-scores

Features

Customize

Env

See .env.example file.

Directory

File

Post

Front matter must have at least the following configuration to display post:

---
title: Title
date: Publish Date
desc: The article introduction, it can be a number, indicating that the introduction is the nth line of the article body (starting from 1)
---

Deploy to Github pages

Uncomment (./.github/workflows/nextjs.yml)[./.github/workflows/nextjs.yml] and edit the RepoName in data/site.ts file and BasePath in next.config.ts file.

Warning

Github pages do not support api routes, so comments can't log in to Github.