首先fork此项目:https://github.com/laisfrigerio/blog,我fork后,得到的项目地址是
https://github.com/brightmann/lb
访问https://github.com/brightmann/lb/tree/main/_posts,在这里,新建帖子fh.md,内容为:
---
title: '战马'
date: '2026-06-21 08:49:00'
excerpt: '这是一篇文章'
---
此处写正文或html codes.
( 详见https://github.com/brightmann/lb/blob/main/_posts/fh.md?plain=1)
然后,访问vercel.com/new ,导入项目https://github.com/brightmann/lb
Build Command栏填入yarn build
Install Command栏填入yarn
然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:
https://lb-lemon.vercel.app/
项目地址:
https://github.com/laisfrigerio/blog
https://github.com/brightmann/lb
演示博客:
https://lb-lemon.vercel.app/
https://lb-lemon.vercel.app/posts/
https://lb-lemon.vercel.app/posts/fh 能显示视频
No comments:
Post a Comment