Total Pageviews

Tuesday, 14 July 2026

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

 
首先fork此项目https://github.com/hxlog/prologue.dev,我fork后,得到的项目地址是https://github.com/brightmann/hlpd

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

---
title: 战马
featured: true
tags:
  - misc1
  - misc2
  - misc3
publishDate: 2026-07-14 12:17
lastmod: 2026-07-14 12:17
description: 这是一篇文章
---

此处写正文或html codes.

( 详见https://github.com/brightmann/hlpd/blob/master/data/content/blog/fh.md?plain=1) 

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

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

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

项目地址:
https://github.com/hxlog/prologue.dev
https://github.com/brightmann/hlpd

演示博客:
https://hlpd.vercel.app/
https://hlpd.vercel.app/blog/  支持分页
https://hlpd.vercel.app/blog/fh 不能显示视频
https://github.com/hxlog/prologue.dev/issues/53

No comments:

Post a Comment