Total Pageviews

Saturday, 10 January 2026

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


 首先fork此项目https://github.com/ForestLee0513/blog-with-nextjs,我fork后的地址是

https://github.com/ymbrite/bwn/, 然后访问

https://github.com/ymbrite/bwn/tree/main/_data/ko/blog,新建源帖a-fh.mdx:

---
title: "战马"
description: "这是一个视频"
date: 2026-01-10 
---

此处为视频的嵌入代码

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

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

项目地址:

https://github.com/ForestLee0513/blog-with-nextjs

https://github.com/ymbrite/bwn/

演示博客网站: 

https://bwn-three.vercel.app/

 https://bwn-three.vercel.app/blog/a-fh 能显示视频。

博客的帖子是按字母顺序排列的:

 https://bwn-three.vercel.app/blog/a-e-ce

 https://bwn-three.vercel.app/blog/a-e-test

 https://bwn-three.vercel.app/blog/a-fh

 https://bwn-three.vercel.app/blog/blog-mdx-example

 这个博客程序有点奇特:在首页,点击某个文章的标题时,并不浮现“一只手”这样的超级链接提示,但文章的标题确实是超级链接,点击后,会跳转到相应的页面。

---------------------------------------------------------------------------------

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

 项目地址:https://github.com/javohirdev/blog-nextjs

 https://github.com/briteming/jhbn

 在此处https://github.com/briteming/jhbn/tree/main/posts ,新建源帖。

 演示博客地址:

https://jhbn-two.vercel.app/blogs 同一天的帖子是按字母顺序排列的。

 https://jhbn-two.vercel.app/blogs/blog/fh 能显示视频。

-----------------------------------------------------------------

项目地址:

https://github.com/ohprettyhak/blog.haklee.me-v1
https://github.com/briteming/obhm/

在此处https://github.com/briteming/jljc/tree/main/src/contents/blog,新建源帖。

 演示博客地址:
https://obhm.vercel.app/
https://obhm.vercel.app/posts/2025-12-17-fh,能显示视频。

----------------------------------------------------------------------

 https://github.com/arshad-yaseen/nextjs-appdir-blog
https://github.com/briteming/aynab

在此处https://github.com/briteming/aynab/tree/main/posts,新建源帖。

  演示博客地址:

 https://aynab.vercel.app/

https://aynab.vercel.app/posts
https://aynab.vercel.app/posts/starsky  能显示视频

----------------------------------------------------------------

 项目地址:

 https://github.com/JakeerC/legacy-jakeer.com

 https://github.com/briteming/jljc

 在此https://github.com/briteming/jljc/tree/main/src/contents/blog ,新建源帖。

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

--------------------------------------------------------- 

 https://github.com/ymbrite/ncubs/
https://ncubs.vercel.app/blog

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

------------------------------------------------------- 

 https://github.com/marpeand/hendrix
https://github.com/ymbrite/mh/

在此处创建源帖:
https://github.com/ymbrite/mh/tree/main/content/writing
https://mh-eosin.vercel.app/
https://mh-eosin.vercel.app/writing/fh   能显示视频

------------------------------------------------------------------- 

https://github.com/ymbrite/spb
https://spb-woad.vercel.app/
https://spb-woad.vercel.app/fh 能显示视频

这里 https://github.com/ymbrite/spb/tree/main/content/author 指定了一些author, 所以源帖里面的fron matter里的author的值就不要改动了,我设为的是其中一个author的名字Alex Walton ,比如 https://github.com/ymbrite/spb/blob/main/content/blog/fh.mdx?plain=1

------------------------------------------------------------

 https://github.com/briteming/wb/
https://github.com/briteming/wb/tree/master/content/articles
https://wb-va2o.vercel.app/  不支持创建视频帖子,只好删除视频帖子。如果创建了视频帖子,部署会失败。

-----------------------------------------------------------------

 https://github.com/vuvandinh123/portfolio
https://github.com/briteming/vp/

https://github.com/briteming/vp/tree/main/content/md ,在此,新建源帖


https://vp-jqgr.vercel.app/
https://vp-jqgr.vercel.app/blogs/
https://vp-jqgr.vercel.app/blogs/fh?cat=md 能显示视频

---------------------------------------------------------------------

 https://github.com/ymbrite/xm/
https://github.com/ymbrite/xm/tree/master/data/posts
https://xm-iota.vercel.app/
https://xm-iota.vercel.app/blog
https://xm-iota.vercel.app/blog/fh 能显示视频

-------------------------------------------------------------------

 https://github.com/elizabthpazp/next-blog

 https://github.com/ymbrite/enb

 https://github.com/ymbrite/enb/tree/main/posts ,在此创建源帖。

 https://enb-two.vercel.app/

 https://enb-two.vercel.app/posts/fh 原本不能显示视频。解决办法:访问https://github.com/ymbrite/enb/blob/main/lib/posts.js,修改第29行的.use(html)

 .use(html, { sanitize: false }) ,2分钟后,访问 https://enb-two.vercel.app/posts/fh,发现能显示视频了。

------------------------------------------------------------------------------------------ 

 

 

 


 

 

No comments:

Post a Comment