Total Pageviews

Friday, 5 December 2025

搭建基于nextjs的静态博客程序shgn(支持分页)


首先fork此项目https://github.com/statichunt/geeky-nextjs,我fork后的项目地址是https://github.com/briteming/shgn/,
然后访问https://github.com/briteming/shgn/tree/main/content/posts,新建源帖 test.md,内容为

---
title: 测试
date: 2025-12-04T06:57:00Z
image: /images/post/post-1.png
categories: ["misc"]
featured: true
draft: false
---

这是测试。

看看如何? 

( 详见https://github.com/briteming/shgn/blob/main/content/posts/test.md?plain=1)

 然后访问vercel.com/new ,导入项目https://github.com/briteming/shgn,点击deploy按钮,等待部署完成,部署完成后,我得到网址https://shgn.vercel.app/

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

 项目地址:

https://github.com/statichunt/geeky-nextjs

https://github.com/briteming/shgn/

演示博客:https://shgn.vercel.app/

 https://shgn.vercel.app/page/2  支持分页

No comments:

Post a Comment