Total Pageviews

Tuesday, 24 February 2026

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


首先fork此项目https://github.com/gadingnst/gading.dev,我fork后的项目地址是
https://github.com/briteming/ggd/, 
然后访问https://github.com/briteming/ggd/tree/main/src/contents/posts/en,新建源帖fh.md,内容为:

---
title: "战马"
slug: {
  en: "fh",
  id: "fh"
}
date: 2026-02-24
description: "这是一篇文章"
keywords: "gmail alias, smtp gmail, spf, dmarc, email forwarding, dns records, send mail as, app password, email authentication"
tags: ["misc1", "misc2", "misc3"]
image: "/media/blog/green.png"
---

此处写视频的嵌入代码

 ( 详见https://github.com/briteming/ggd/blob/main/src/contents/posts/en/fh.md?plain=1)

这里的green.png文件是我上传的,我上传到了这里:

 https://github.com/briteming/ggd/tree/main/public/media/blog

 然后访问vercel.com/new ,导入项目https://github.com/briteming/ggd/

然后,点击deploy按钮,等待部署完成,部署完成后,我得到网址:

https://ggd-ten.vercel.app/

 新建源帖后,博客网站2-3分钟内就会自动更新。

 项目地址:

https://github.com/gadingnst/gading.dev

https://github.com/briteming/ggd/

演示博客:

https://ggd-ten.vercel.app/
https://ggd-ten.vercel.app/blog

https://ggd-ten.vercel.app/blog/fh 能显示视频。

同一天里的帖子是按字母顺序从上到下排列的:

 https://ggd-ten.vercel.app/blog/b-test

 https://ggd-ten.vercel.app/blog/ce

 https://ggd-ten.vercel.app/blog/fh

 

 

No comments:

Post a Comment