init: hugo + PaperMod blog

This commit is contained in:
Fam Zheng 2026-04-10 22:23:49 +01:00
commit 26bc9c64ea
8 changed files with 78 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
public/

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/PaperMod"]
path = themes/PaperMod
url = https://github.com/adityatelange/hugo-PaperMod.git

0
.hugo_build.lock Normal file
View File

5
archetypes/default.md Normal file
View File

@ -0,0 +1,5 @@
+++
date = '{{ .Date }}'
draft = true
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
+++

13
content/about.md Normal file
View File

@ -0,0 +1,13 @@
---
title: "关于"
hidemeta: true
showToc: false
---
我是 Fam Zheng软件工程师。
平时折腾系统基础设施、开发工具和 AI。喜欢造简单、可靠、好用的东西。
**找到我:**
- [GitHub](https://github.com/famz)
- [Gitea](https://git.famzheng.me)

View File

@ -0,0 +1,10 @@
---
title: "你好,世界"
date: 2026-04-10
draft: false
summary: "第一篇,随便聊聊。"
---
开个博客,记录一下平时折腾的东西。
主要写写系统、工具、AI 相关的,偶尔可能聊点别的。没什么更新计划,有东西想写的时候就写。

45
hugo.toml Normal file
View File

@ -0,0 +1,45 @@
baseURL = "https://famzheng.me/"
languageCode = "zh"
title = "Fam Zheng"
theme = "PaperMod"
[pagination]
pagerSize = 10
[params]
env = "production"
description = "软件工程师。系统、AI造点有意思的东西。"
author = "Fam Zheng"
showReadingTime = true
showShareButtons = false
showBreadCrumbs = false
showPostNavLinks = true
showCodeCopyButtons = true
defaultTheme = "auto"
[params.homeInfoParams]
Title = "嗨"
Content = "我是 Fam软件工程师。在系统基础设施和 AI 的交叉地带折腾。这里记录我在造什么、在想什么。"
[[params.socialIcons]]
name = "github"
url = "https://github.com/famz"
[[params.socialIcons]]
name = "gitea"
url = "https://git.famzheng.me"
[menu]
[[menu.main]]
identifier = "posts"
name = "文章"
url = "/posts/"
weight = 1
[[menu.main]]
identifier = "about"
name = "关于"
url = "/about/"
weight = 2
[outputs]
home = ["HTML", "RSS", "JSON"]

1
themes/PaperMod Submodule

@ -0,0 +1 @@
Subproject commit 893811ac431f00ae22186d5a1be396e82db5577f