Total Pageviews

Tuesday, 23 December 2025

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


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

---
title: 战马
date: 2025-12-23T14:07:00
author: ym
---

此处写视频的嵌入代码

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

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

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

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

 项目地址:

https://github.com/xprilion/nextjs-blog-xprilion

https://github.com/briteming/xnbx/

演示博客:

https://xnbx-sage.vercel.app/

 https://xnbx-sage.vercel.app/posts

 https://xnbx-sage.vercel.app/posts/fh 能显示视频

No comments:

Post a Comment