首先fork此项目https://github.com/magicuidesign/blog-template,我fork后的项目地址是https://github.com/briteming/mdbt,然后访问https://github.com/briteming/mdbt/tree/main/blog/content,新建源帖test.mdx,内容为:
---
title: 测试
date: "2025-11-27T17:56:00"
tags: ["misc1", "misc2", "misc3"]
featured: true
author: ym
---
这是测试。
看看如何?
( 详见https://github.com/briteming/mdbt/blob/main/blog/content/test.mdx?plain=1)
然后访问vercel.com/new ,导入项目https://github.com/briteming/mdbt ,点击deploy按钮,等待部署完成,部署完成后,我得到网址https://mdbt.vercel.app/
新建源帖后,博客网站2分钟内就会更新。
项目地址:
https://github.com/magicuidesign/blog-template
https://github.com/briteming/mdbt
demo blog:
https://mdbt.vercel.app/
No comments:
Post a Comment