Total Pageviews

Wednesday, 24 December 2025

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



首先fork此项目https://github.com/Ibaslogic/nextjs-mdx-blog-rss,我fork后的项目地址是https://github.com/briteming/nmbr 
然后访问https://github.com/briteming/nmbr/tree/main/posts,新建源帖fh.mdx,内容为:

---
title: '战马'
date: '2025-12-22T07:44:00'
featured: '/images/first-post-featured.png'
description: '这是一篇文章'
---

此处写视频的嵌入代码

( 详见https://github.com/briteming/nmbr/blob/main/posts/fh.mdx?plain=1)

 然后访问vercel.com/new ,导入项目https://github.com/briteming/nmbr。

然后,点击deploy按钮,等待部署完成,部署完成后,我得到网址https://nmbr-pi.vercel.app/

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

 项目地址:

https://github.com/Ibaslogic/nextjs-mdx-blog-rss

https://github.com/briteming/nmbr

演示博客:https://nmbr-pi.vercel.app/

 https://nmbr-pi.vercel.app/blog

 https://nmbr-pi.vercel.app/blog/fh  能显示视频

 

No comments:

Post a Comment