-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
82 lines (66 loc) · 2.12 KB
/
config.toml
File metadata and controls
82 lines (66 loc) · 2.12 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
baseURL = "https://birdflyi.github.io/"
languageCode = "en-us"
## languageCode = "zh-CN"
copyright = "© {year} birdflyi"
title = "HOME"
theme = "maupassant-hugo"
## 保持分类的原始名字(false会做转小写处理)
preserveTaxonomyNames = true
## 是否禁止URL Path转小写
disablePathToLower = true
## 自动检测是否包含中文/日文/韩文,建议设置为true
hasCJKLanguage = true
## 摘要长度
summaryLength = 140
## 分页
paginate = 20
paginatePath = "page"
enableEmoji = true
footnotereturnlinkcontents = "<sup>^</sup>"
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
# Workaround Hugo publishing taxonomy URLs as plurals - consistently use singular across Academic.
[permalinks]
authors = "/author/:slug/"
tags = "/tag/:slug/"
categories = "/category/:slug/"
publication_types = "/publication-type/:slug/"
[mediaTypes."application/manifest+json"]
suffixes = ["webmanifest"]
[outputFormats.WebAppManifest]
mediaType = "application/manifest+json"
rel = "manifest"
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true # Enable user to embed HTML snippets in Markdown content.
[markup.highlight]
codeFences = false # Disable Hugo's code highlighter as it conflicts with Academic's highligher.
[markup.tableOfContents]
startLevel = 2
endLevel = 3
[imaging]
resampleFilter = "lanczos"
quality = 90
anchor = "smart" # Anchor for cropping. Options include Smart and Center.
# Taxonomies.
[taxonomies]
tag = "tags"
category = "categories"
publication_type = "publication_types"
[outputs]
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
section = [ "HTML", "RSS" ]
[author]
name = "birdflyi"
[params]
subtitle = "The home page of LouZehua."
keywords = "home page"
description = "The home page of LouZehua."
busuanzi = true #启用不算子网页统计
localSearch = true
## 友情链接,可以多个
[[params.links]]
title = "X-lab Personal Info"
name = "X-lab Personal Info"
url = "http://www.x-lab.info/author/%E5%A8%84%E6%B3%BD%E5%8D%8E/"