Total Pageviews

Friday, 31 July 2026

搭建基于nextjs的静态博客程序0t


首先fork此项目:https://github.com/0xtelmo/telmo,我fork后,得到的项目地址是

https://github.com/brightmann/0t

访问https://github.com/brightmann/0t/tree/master/writings,在此处新建源帖(即add file),我新建了源帖fh.md,内容为:

---
title: "战马"
date: "2026-06-07 18:24:00"
og:
  description: "这是一篇文章"
  image: "https://telmo.im/og/you-do-you.png"
author:
  twitter: "xyz"
  name: "xyz"
---

此处写正文或html codes.

( 详见https://github.com/brightmann/0t/blob/master/writings/fh.md?plain=1) 

然后,访问vercel.com/new ,导入项目https://github.com/brightmann/0t

  Build Command栏填入npm run build
 Install Command栏填入npm install

然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:
https://0t-three.vercel.app/

项目地址:
https://github.com/0xtelmo/telmo

https://web.archive.org/web/20200725231939/https://telmo.im/writings/open-sourcing-blog


https://github.com/brightmann/0t

演示博客:

 https://0t-three.vercel.app/

 https://0t-three.vercel.app/writings/fh 能显示视频

No comments:

Post a Comment