首先fork此项目https://github.com/aralroca/aralroca.com,我fork后,得到的项目地址是https://github.com/brightmann/arc
访问https://github.com/brightmann/arc/tree/master/src/posts,在此处新建源帖(即add file),我新建了源帖fh.md,内容为:
---
title: "战马"
created: 06/28/2026
description: "这是一篇文章"
tags: misc1, misc2, misc3
cover_image: /images/cover-images/37_cover_image.webp
cover_image_mobile: /images/cover-images/37_cover_image_mobile.webp
cover_color: "#1a2634"
---
此处写正文或html codes.
( 详见https://github.com/brightmann/arc/blob/master/src/posts/fh.md?plain=1)
然后,访问vercel.com/new ,导入项目https://github.com/brightmann/arc
Build Command栏填入bun run build
Install Command栏填入bun install
然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:
https://arc-taupe-sigma.vercel.app/
项目地址:
https://github.com/aralroca/aralroca.com
https://github.com/brightmann/arc
演示博客:
https://arc-taupe-sigma.vercel.app/
https://arc-taupe-sigma.vercel.app/blog 支持分页
https://arc-taupe-sigma.vercel.app/blog/fh 能显示视频
No comments:
Post a Comment