首先fork此项目:https://github.com/Hack-Weekly/lavender-snake-blog,我fork后,得到的项目地址是https://github.com/brightmann/lsb
访问https://github.com/brightmann/lsb/tree/main/posts,在这里,新建帖子fh.md,内容为:
---
title: "战马"
date: "19 June 2026"
excerpt: "这是一篇文章"
imageSrc: "/images/apollo-8-history.webp"
author: "ym"
tags: ["misc1", "misc2", "misc3"]
---
此处写正文或html codes.
( 详见https://github.com/brightmann/lsb/blob/main/posts/fh.md?plain=1)
然后,访问vercel.com/new ,导入项目https://github.com/brightmann/lsb
Build Command栏填入npm run build
Install Command栏填入npm install
然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:
https://lsb-ten.vercel.app/
项目地址:
https://github.com/Hack-Weekly/lavender-snake-blog
https://github.com/brightmann/lsb
演示博客:
https://lsb-ten.vercel.app/
https://lsb-ten.vercel.app/fh 能显示视频
No comments:
Post a Comment