我用github a/c: luckypoem@gmail.com登录cloudflare.com后,导入仓库https://github.com/brightmann/ntbt
下面的插图就是我跟它的对话过程,共 张插图.
项目地址:
https://github.com/codebucks27/Nextjs-tailwindcss-blog-template
https://github.com/brightmann/ntbt
访问 https://github.com/brightmann/ntbt/tree/main/content/blogs ,在此处,创建以你的帖子的slug的值命名的目录,比如fh: https://github.com/brightmann/ntbt/tree/main/content/blogs/fh . 然后在该目录下,新建源帖index.mdx, 内容为:
---
title: "战马"
description: 这是一篇文章
image: tv.png
publishedAt: 2026-10-03 17:43
updatedAt: 2026-10-03 17:43
author: "ym"
isPublished: true
tags:
- misc1
- misc2
- misc3
slug: fh
---
此处写正文或html codes.
还需要上传一个图片文件,比如tv.png到该目录https://github.com/brightmann/ntbt/tree/main/content/blogs/fh/ .
然后等待cloudflare.com平台完成部署。完成部署后,我得到博客地址:
https://ntbt.luckypoem.workers.dev/
https://ntbt.luckypoem.workers.dev/categories/all





No comments:
Post a Comment