-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhugo.toml
More file actions
executable file
·114 lines (99 loc) · 2.83 KB
/
hugo.toml
File metadata and controls
executable file
·114 lines (99 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
baseURL = 'https://mig217.github.io/'
languageCode = 'en-us'
title = "Mig's Blog"
theme = 'hugo-PaperMod'
publishDir = "docs"
enableInlineShortcodes = true
enableRobotsTXT = true
buildDrafts = false
buildFuture = false
buildExpired = false
enableEmoji = true
pygmentsUseClasses = true
[params]
env = "production" # 启用 Google Analytics、OpenGraph、Twitter Cards 等
description = "Theme PaperMod - https://github.com/adityatelange/hugo-PaperMod"
author = "Mingrui Guo" # 更新作者信息
defaultTheme = "regular"
mainSections = ["post"] # 主页展示的文章目录
ShowReadingTime = true # 显示预计阅读时间
ShowShareButtons = true # 允许分享
ShowToc = true # 文章内显示目录
comments = false # 关闭评论
ShowBreadCrumbs = true # 面包屑导航
ShowPostNavLinks = true # 文章内的前后文章导航
ShowWordCount = true # 显示字数统计
ShowCodeCopyButtons = true # 代码块复制按钮
ShowRssButtonInSectionTermList = true # RSS 订阅按钮
ShowAllPagesInArchive = true # 归档页显示所有文章
ShowPageNums = true # 文章列表显示分页
displayFullLangName = true # 显示完整语言名称
math = true
[params.profileMode]
enabled = false
title = "Mig's Blog"
imageUrl = "#"
imageTitle = "Profile Image"
buttons = [
{ name = "Archives", url = "archives" },
{ name = "Tags", url = "tags" }
]
[params.homeInfoParams]
Title = "👋Welcome to Mig's Blog"
Content = """
Hey, this is Mingrui. I started this blog in 2025 to track my thoughts. If the writing sounds a bit too polished, well… let’s just say ChatGPT did most of the work! 😆
"""
[[params.socialIcons]]
name = "github"
title = "View Source on Github"
url = "https://github.com/mig217"
[[params.socialIcons]]
name = "X"
title = "Share on X/Twitter"
url = "https://x.com/wakaka7727"
# [[params.socialIcons]]
# name = "KoFi"
# title = "Buy me a Ko-Fi :)"
# url = "https://ko-fi.com/mig217"
# [params.editPost]
# URL = "https://github.com/mig217/blog/tree/main/content"
# Text = "Suggest Changes"
# appendFilePath = true
[minify]
disableXML = true
[outputs]
home = ["HTML", "RSS", "JSON"]
[menu]
[[menu.main]]
name = "Posts"
url = "post/"
weight = 1
[[menu.main]]
name = "Archive"
url = "archives/"
weight = 2
[[menu.main]]
name = "Search"
url = "search/"
weight = 3
[[menu.main]]
name = "Tags"
url = "tags/"
weight = 4
[[menu.main]]
name = "FAQ"
url = "faq/"
weight = 5
[languages]
[languages.en]
languageName = "English"
weight = 1
[markup]
[markup.highlight]
noClasses = false
guessSyntax = true
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[assets]
disableHLJS = true