Files
blog/hugo.yaml
T
zhengchen.tao 9bbab6a135 init: Hugo + Stack 主题 + 首批 3 篇文章 + Gitea Actions 自动部署
- Stack 主题 + 自定义 padding 与标题样式 (assets/scss/custom.scss)
- 内容: HTTPS 旅程 / AI 工程师地图 / Xray Reality
- 页面: 首页 / 文章 / 归档 / 关于 / 搜索
- CI: Gitea Actions push → hugo --minify → rsync 到 NAS
  应用 Gitea Actions 模板 §4.4-4.5 经验: paths-ignore (注意不排除 **.md)
  + concurrency cancel-in-progress + summary
2026-05-03 15:56:04 +08:00

151 lines
2.6 KiB
YAML

baseURL: "https://blog.zhengchentao.win/"
title: "陶政辰的笔记本"
theme: stack
defaultContentLanguage: zh-cn
hasCJKLanguage: true
languageCode: zh-cn
pagination:
pagerSize: 5
permalinks:
posts: "/posts/:slug/"
page: "/:slug/"
services:
disqus:
shortname: ""
params:
mainSections: ["posts"]
rssFullContent: true
favicon: ""
footer:
since: 2026
customText: ""
dateFormat:
published: "2006-01-02"
lastUpdated: "2006-01-02 15:04"
sidebar:
compact: false
emoji: ""
subtitle: "C# / .NET / React / Vue 工程师 · 上海 · 写写技术和不太成熟的思考"
avatar: "img/avatar.jpg"
article:
math: true
toc: true
readingTime: true
license:
enabled: true
default: "本文按 [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh) 协议发布"
comments:
enabled: false
provider: disqus
widgets:
homepage:
- type: search
- type: archives
params:
limit: 5
- type: categories
params:
limit: 10
- type: tag-cloud
params:
limit: 10
page:
- type: toc
opengraph:
twitter:
site: ""
card: summary_large_image
defaultImage:
opengraph:
enabled: false
local: false
src: ""
colorScheme:
toggle: true
default: auto
imageProcessing:
cover:
enabled: true
content:
enabled: true
menu:
main:
- identifier: home
name: 首页
url: /
weight: -100
params:
icon: home
- identifier: archives
name: 归档
url: /archives/
weight: -90
params:
icon: archives
- identifier: about
name: 关于
url: /about/
weight: -80
params:
icon: user
social:
- identifier: github
name: GitHub
url: "https://github.com/zhengchentao"
params:
icon: brand-github
- identifier: rss
name: RSS
url: "/index.xml"
params:
icon: rss
related:
includeNewer: true
threshold: 60
toLower: false
indices:
- name: tags
weight: 100
- name: categories
weight: 200
markup:
goldmark:
extensions:
passthrough:
enable: true
delimiters:
block: [["\\[", "\\]"], ["$$", "$$"]]
inline: [["\\(", "\\)"]]
renderer:
unsafe: true
tableOfContents:
endLevel: 4
ordered: true
startLevel: 2
highlight:
noClasses: false
codeFences: true
guessSyntax: true
lineNoStart: 1
lineNos: false
lineNumbersInTable: true
tabWidth: 4