blog/hugo.toml
2025-02-23 02:23:42 +08:00

106 lines
2.5 KiB
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

baseURL = 'https://www.ember.ac.cn/'
languageCode = 'zh-cn'
title = 'ember 的主页'
theme = 'hugo-theme-stack-master'
ignoreLogs = ['warning-goldmark-raw-html']
defaultContentLanguage = "zh-cn"
hasCJKLanguage = true
[menu]
[[menu.social]]
identifier = "mail"
name = "邮箱"
url = "mailto:emberax@foxmail.com"
weight = 1
[menu.social.params]
icon = "mail"
[[menu.social]]
identifier = "git"
name = "个人 Git 主页"
url = "https://git.东北大学.com/ember"
weight = 3
[menu.social.params]
icon = "git"
[[menu.social]]
identifier = "github"
name = "GitHub"
url = "https://github.com/emberQR"
weight = 2
[menu.social.params]
icon = "brand-github"
[[menu.social]]
identifier = "linkedin"
name = "LinkedIn"
url = "https://www.linkedin.com/in/qiaoru-li-3012832a3/"
weight = 4
[menu.social.params]
icon = "linkedin"
[[menu.social]]
identifier = "wechat"
name = "微信"
url = "https://cdn.ember.ac.cn/images/bed/202502111502191.png"
weight = 5
[menu.social.params]
icon = "wechat"
darkQR = "https://cdn.ember.ac.cn/images/bed/202502111525839.png"
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[markup.tableOfContents]
startLevel = 1
endLevel = 4
ordered = false
[markup.highlight]
codeFences = true
guessSyntax = true
hl_Lines = ""
lineNoStart = 1
lineNos = true
lineNumbersInTable = false
noClasses = true
tabWidth = 4
[params]
subtitle = '感谢来访!'
[[params.widgets.homepage]]
type = "search"
# 注意search widget 需要你创建一个 layout 为 search 的页面
[params.widgets.homepage.params]
# 这里可以添加搜索框需要的参数,比如 placeholder 文本等
placeholder = "搜索文章..."
[[params.widgets.homepage]]
type = "archives"
# archives widget 需要你创建一个 layout 为 archives 的页面
[params.widgets.homepage.params]
limit = 10
[[params.widgets.homepage]]
type = "categories"
[params.widgets.homepage.params]
limit = 10
[[params.widgets.homepage]]
type = "tag-cloud"
[params.widgets.homepage.params]
limit = 50
# 文章页右侧栏 widgets 配置(仅对文章页有效)
[[params.widgets.page]]
type = "toc"
# Table of Contents根据文章内容自动生成目录
[params.widgets.page.params]
# 如果有额外配置参数,可以在这里添加