首先fork此项目https://github.com/lapeyrade/nextjs-portfolio-blog-template,我fork后的地址是https://github.com/briteming/npbt, 然后访问
https://github.com/briteming/npbt/tree/main/src/content/blog,新建源帖fh.mdx ,内容为:
---
title: "战马"
description: "这是一篇文章"
date: "2025-12-28T01:29:00"
author: "ym"
tags: ["misc1", "misc2", "misc3", "misc4"]
---
此处为视频的嵌入代码
(详见 https://github.com/briteming/npbt/blob/main/src/content/blog/fh.mdx?plain=1)
然后访问vercel.com/new, 导入项目https://github.com/briteming/npbt,点击deploy按钮,等待部署完成,部署完成后,我得到网址https://npbt-kn66.vercel.app/
新建源帖后,博客网站2分钟内就会更新。
项目地址:
https://github.com/lapeyrade/nextjs-portfolio-blog-template
https://github.com/briteming/npbt,
演示博客网站:
https://npbt-kn66.vercel.app/
https://npbt-kn66.vercel.app/en/blog
https://npbt-kn66.vercel.app/en/blog/fh 能显示视频。
刚才无意中,访问了 https://npbt-kn66.vercel.app/en/blog/ce,发现竟然根本不显示此长文,
这个博客程序npbt不行。这是我头一次遇到基于nextjs的静态博客程序不能显示长文的问题。
--------------------------------------------------------------
https://github.com/nelsonlaidev/nextjs-mdx-blog
https://github.com/briteming/nldnm/
https://github.com/briteming/nldnm/tree/main/data/blog, 在此新建源帖fh.mdx,详见
https://github.com/briteming/nldnm/blob/main/data/blog/fh.mdx?plain=1
demo blog:
https://nldnm-ud71.vercel.app/
https://nldnm-ud71.vercel.app/blog/fh 能显示视频。
------------------------------------------------------------
https://github.com/ymbrite/nbtmt/
https://nbtmt-opal.vercel.app/
https://nbtmt-opal.vercel.app/posts/fh 能显示视频
---------------------------------------------------------------
https://github.com/ymbrite/jmbn
https://jmbn.vercel.app/blog
https://jmbn.vercel.app/blog/fh 能显示视频
------------------------------------------------------------------
https://github.com/ymbrite/jnbt
在此 https://github.com/ymbrite/jnbt/tree/main/content 新建源帖fh.mdx , 内容为:
---
title: 战马
date: 2026-01-16T08:22:00
---
在此写视频的嵌入代码
(详见: https://github.com/ymbrite/jnbt/blob/main/content/fh.mdx?plain=1)
演示博客:https://jnbt.vercel.app/
https://jnbt.vercel.app/fh 能显示视频
--------------------------------------------------
https://github.com/briteming/hnbb
https://hnbb.vercel.app/
https://hnbb.vercel.app/blogs/fh
------------------------------------------------
https://github.com/briteming/jljc/
https://jljc.vercel.app/blog 创建新帖后,要等3分钟,博客才会更新。
---------------------------------------------------
No comments:
Post a Comment