245 lines
5.5 KiB
TOML
245 lines
5.5 KiB
TOML
baseURL = 'https://chlor.me/'
|
||
languageCode = 'zh-CN'
|
||
defaultContentLanguage = "zh"
|
||
title = 'Garden of Outlier'
|
||
theme = 'hermeneutics'
|
||
|
||
hasCJKLanguage = true
|
||
enableCsrf = true
|
||
|
||
[Permalinks]
|
||
posts = "/:slug/"
|
||
|
||
[taxonomies]
|
||
category = "categories"
|
||
tag = "tags"
|
||
series = "series"
|
||
|
||
# Menus
|
||
[[menu.main]]
|
||
identifier = "archives"
|
||
name = "归档"
|
||
weight = 10
|
||
|
||
[[menu.main]]
|
||
identifier = "posts"
|
||
name = "时间"
|
||
url = "posts"
|
||
weight = 10
|
||
parent = "archives"
|
||
|
||
[[menu.main]]
|
||
identifier = "categories"
|
||
name = "分类"
|
||
url = "categories"
|
||
weight = 10
|
||
parent = "archives"
|
||
|
||
[[menu.main]]
|
||
identifier = "tags"
|
||
name = "标签"
|
||
url = "tags"
|
||
weight = 10
|
||
parent = "archives"
|
||
|
||
[[menu.main]]
|
||
identifier = "series"
|
||
name = "系列"
|
||
url = "series"
|
||
weight = 10
|
||
parent = "archives"
|
||
|
||
[[menu.main]]
|
||
identifier = "links"
|
||
name = "友链"
|
||
url = "links"
|
||
weight = 20
|
||
|
||
[[menu.main]]
|
||
identifier = "now"
|
||
name = "如今"
|
||
url = "now"
|
||
weight = 30
|
||
|
||
[[menu.main]]
|
||
identifier = "about"
|
||
name = "关于"
|
||
url = "about"
|
||
weight = 40
|
||
|
||
[mediaTypes]
|
||
[mediaTypes.'application/atom+xml']
|
||
suffixes = ['atom', 'xml']
|
||
|
||
[outputFormats]
|
||
[outputFormats.atom]
|
||
mediaType = 'application/atom+xml'
|
||
baseName = 'feed'
|
||
isHTML = false
|
||
minify = true
|
||
rel = 'alternate'
|
||
|
||
[outputs]
|
||
home = ['html', 'rss', 'atom']
|
||
taxonomy = ['html']
|
||
term = ['html']
|
||
|
||
[params]
|
||
[params.basic]
|
||
startDate = "12/15/2023 12:00:00"
|
||
announcement = false
|
||
defaultcover = "/img/default-cover.webp"
|
||
math = false
|
||
description = "My personal blog, my secret garden, my cyber eutopia."
|
||
keywords = [
|
||
"Blog",
|
||
"Indie",
|
||
"Open Source",
|
||
"Computer Science",
|
||
"Writing",
|
||
"中文博客",
|
||
"Chlorine"
|
||
]
|
||
|
||
[params.dev]
|
||
jsd = "https://cdn.jsdmirror.com"
|
||
|
||
[params.author]
|
||
name = "Chlorine"
|
||
homepage = "https://chlor.me"
|
||
bio = "I am the residual of this world."
|
||
avatar = "https://img.viento.cc/avatar/02.webp"
|
||
tags = [
|
||
"Some Dumb Undergrad",
|
||
"Open Source Enthusiast",
|
||
"Indie Blogger",
|
||
"Alt-History Writer",
|
||
"Cyber Hermit",
|
||
]
|
||
|
||
[params.feed]
|
||
[params.feed.rss]
|
||
fullText = true # 是否输出全文
|
||
limit = 10 # 限制 RSS 输出的文章数量
|
||
|
||
[params.feed.atom]
|
||
fullText = true
|
||
limit = 10
|
||
|
||
[[params.social]]
|
||
name = "Home"
|
||
url = "/"
|
||
icon = "i-carbon-home"
|
||
color = "#4A90E2"
|
||
enable = true
|
||
|
||
[[params.social]]
|
||
name = "Email"
|
||
url = "mailto:hi@chlor.me"
|
||
icon = "i-carbon-email"
|
||
color = "#EA4335"
|
||
enable = true
|
||
|
||
[[params.social]]
|
||
name = "Atom"
|
||
url = "/feed.atom"
|
||
icon = "i-carbon-rss"
|
||
color = "#EE802F"
|
||
enable = true
|
||
|
||
[[params.social]]
|
||
name = "Forgejo"
|
||
url = "https://chlor.dev/chlorine"
|
||
icon = "i-simple-icons-forgejo"
|
||
color = "#8FA874"
|
||
enable = true
|
||
|
||
[[params.social]]
|
||
name = "Codeberg"
|
||
url = "https://codeberg.org/chlorine"
|
||
icon = "i-simple-icons-codeberg"
|
||
color = "#2185D0"
|
||
enable = true
|
||
|
||
[[params.social]]
|
||
name = "GitHub"
|
||
url = "https://github.com/chlorine3545"
|
||
icon = "i-carbon-logo-github"
|
||
color = "#181717"
|
||
enable = true
|
||
|
||
[[params.social]]
|
||
name = "Fediverse"
|
||
url = "https://spect.im/@chlorine"
|
||
icon = "i-ph-fediverse-logo"
|
||
color = "#7289DA"
|
||
enable = true
|
||
|
||
[[params.social]]
|
||
name = "Bluesky"
|
||
url = "https://bsky.app/profile/chlor.me"
|
||
icon = "i-simple-icons-bluesky"
|
||
color = "#1DA1F2"
|
||
enable = true
|
||
|
||
[[params.social]]
|
||
name = "Travelling"
|
||
url = "https://www.travellings.cn/go.html"
|
||
icon = "i-carbon-train"
|
||
color = "#8CB1B3"
|
||
enable = true
|
||
|
||
[params.comments]
|
||
enable = true
|
||
type = "artalk"
|
||
|
||
[params.comments.twikoo]
|
||
version = "1.6.41"
|
||
envId = "https://tk.viento.cc"
|
||
|
||
# TODO
|
||
[params.comments.waline]
|
||
appId = ""
|
||
appKey = ""
|
||
|
||
# TODO
|
||
[params.comments.giscus]
|
||
repo = ""
|
||
repoId = ""
|
||
category = ""
|
||
categoryID = ""
|
||
|
||
# TODO
|
||
[params.comments.artalk]
|
||
server = "https://artalk.viento.cc"
|
||
|
||
[params.search]
|
||
enable = false
|
||
type = "algolia-docsearch"
|
||
|
||
[params.search.docsearch]
|
||
appid = "6O8RM1BUT3"
|
||
apiKey = "ceb081eaca8bade865cec00ef9e754e8"
|
||
indexname = "yoghurtlee"
|
||
container = "#docsearch"
|
||
placeholder = "Nyanpasu~"
|
||
|
||
[params.beian]
|
||
icp = ""
|
||
gongan = ""
|
||
moe = "萌ICP备20240711号"
|
||
|
||
# 不用管这个报错,Hugo 官方估计都不知道这是怎么回事
|
||
[markup]
|
||
[markup.highlight]
|
||
codeFences = false
|
||
[markup.goldmark]
|
||
[markup.goldmark.parser]
|
||
[markup.goldmark.parser.attribute]
|
||
block = true
|
||
[markup.goldmark.extensions]
|
||
[markup.goldmark.extensions.passthrough]
|
||
enable = true
|
||
[markup.goldmark.extensions.passthrough.delimiters]
|
||
block = [['$$', '$$']]
|
||
inline = [['$', '$']]
|