Total Pageviews

Sunday, 7 December 2025

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


首先fork此项目https://github.com/emanuelefavero/next-markdown-blog,我fork后的项目地址是https://github.com/briteming/efnmb
然后访问https://github.com/briteming/efnmb/tree/main/posts,新建源帖test.md,内容为

---
title: '测试'
date: 'December 7, 2025 13:04:00'
excerpt: '这是一篇文章'
cover_image: '/images/posts/img3.jpg'
---

这是测试。

( 详见https://github.com/briteming/efnmb/blob/main/posts/test.md?plain=1)

然后访问vercel.com/new ,导入项目https://github.com/briteming/efnmb,点击deploy按钮,等待部署完成,部署完成后,我得到网址https://efnmb.vercel.app

 新建源帖后,博客网站2分钟内就会更新。

 项目地址:

 https://github.com/emanuelefavero/next-markdown-blog

 https://github.com/briteming/efnmb

demo blog:  https://efnmb.vercel.app

 

No comments:

Post a Comment