-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
66 lines (53 loc) · 1.83 KB
/
config.toml
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
# The URL the site will be built for
base_url = "https://www.wh7f.com"
# The site title and description; used in feeds by default.
title = "wh7f"
description = "wh7f ..."
# The default language; used in feeds.
default_language = "zh"
# The site theme to use.
theme = "DeepThought"
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true
taxonomies = [
{ name = "categories", feed = true, paginate_by = 10 },
{ name = "tags", fees = true, paginate_by = 10 },
]
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = false
[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true
[search]
# Whether to include the title of the page/section in the index
include_title = true
# Whether to include the description of the page/section in the index
include_description = false
# Whether to include the path of the page/section in the index
include_path = false
# Whether to include the rendered content of the page/section in the index
include_content = true
# At which character to truncate the content to. Useful if you have a lot of pages and the index would
# become too big to load on the site. Defaults to not being set.
# truncate_content_length = 100
[extra]
# Put all your custom variables here
navbar_items = [
{ code = "zh", nav_items = [
{ url = "$BASE_URL/", name = "主页" },
{ url = "$BASE_URL/blog", name = "博客" },
{ url = "$BASE_URL/tags", name = "标签" },
{ url = "$BASE_URL/categories", name = "分类" },
] },
]
# Author details
[extra.author]
name = "wh7f"
avatar = "/images/cat.jpg"
# Social links
[extra.social]
github = "wh7f"
email = "[email protected]"
# [extra.analytics]
# google = "G-P56ZFRVLNH"