首先fork此项目https://github.com/ddadaal/ddadaal.me ,我fork后,得到的项目地址是https://github.com/brightmann/ddm
访问 https://github.com/brightmann/ddm/tree/master/contents ,在此处新建源帖(即add file),我新建了源帖20260629-fh/index.md,内容为:
---
id: fh
date: 2026-06-29 14:07
title: 战马
lang: cn
tags:
- misc1
- misc2
- misc3
---
此处写正文或html codes.
( 详见https://github.com/brightmann/ddm/blob/master/contents/20260629-fh/index.md?plain=1)
注意: index.md所在的目录的名称必须是20260629-fh这样的格式,不能是fh这样的格式,否则发帖会失败。
然后,访问vercel.com/new ,导入项目https://github.com/brightmann/ddm ,
Build Command栏填入pnpm build
Install Command栏填入pnpm install
然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址https://ddm-sandy.vercel.app/
项目地址:
https://github.com/ddadaal/ddadaal.me
https://github.com/brightmann/ddm
演示博客:
https://ddm-sandy.vercel.app/
https://ddm-sandy.vercel.app/articles 支持分页
https://ddm-sandy.vercel.app/articles/fh 能显示视频
( https://github.com/brightmann/ddm/new/master?filename=.github%2Fworkflows%2Fdeno.yml&workflow_template=ci%2Fdeno ,这个还没细究)