Total Pageviews

Saturday, 18 July 2026

搭建基于nextjs的静态博客程序fegi


首先fork此项目https://github.com/fossil-engineering/fossil-engineering.github.io,我fork后,得到的项目地址是https://github.com/brightmann/fegi,
访问https://github.com/brightmann/fegi/tree/master/data/blog,在此处新建源帖(即add file),我新建了源帖2026-06-14-fh.md,内容为:
---
title: 战马
authors: [cat]
date: '2026-06-14T10:42:00'
tags: ['misc1', 'misc2', 'misc3']
summary: '这是一篇文章'
---

此处写正文或html codes.


( 详见https://github.com/brightmann/fegi/blob/master/data/blog/2026-06-14-fh.md?plain=1) 

然后,访问vercel.com/new ,导入项目https://github.com/brightmann/fegi

  Build Command栏填入yarn build
 Install Command栏填入yarn

然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:
 https://fegi.vercel.app/

项目地址:
https://github.com/fossil-engineering/fossil-engineering.github.io
https://github.com/brightmann/fegi

演示博客:

 https://fegi.vercel.app/blog

 https://fegi.vercel.app/blog/fh  能显示视频

No comments:

Post a Comment