Total Pageviews

Tuesday, 23 December 2025

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


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

---
title: "战马"
excerpt: '这是一篇文章'
coverImage: '/assets/blog/cover-4.png'
date: "Dec 22, 2025"
author:
  name: ym
  picture: '/assets/blog/authors/joe.jpeg'
ogImage: '/assets/blog/cover-4.png'
category: misc
tags: "blog teamplate, blog, template, nextjs, tailwind css, markdown, mdx, tailwindcss, nextjs template, webexpe, webexpe.com"
keywords: "blog teamplate, blog, template, nextjs, tailwind css, markdown, mdx, tailwindcss, nextjs template, webexpe, webexpe.com"
thumbnail: '/assets/blog/cover-4.png'
---

此处写视频的嵌入代码

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

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

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

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

 项目地址:

https://github.com/webexpe13/nextjs-tailwind-mdx-blog-template

https://github.com/briteming/ntmbt

演示博客:

https://ntmbt.vercel.app,同一天发表的帖子是按字母顺序从上到下排列。

https://ntmbt.vercel.app/posts/fh/   能显示视频

No comments:

Post a Comment