-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.toml
62 lines (48 loc) · 1.48 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
# The URL the site will be built for
base_url = "https://linq.github.io"
# The default language; used in feeds.
default_language = "zh"
# The site theme to use.
theme = "anemone"
# Whether to automatically compile all Sass files in the sass directory
compile_sass = false
# When set to "true", the generated HTML files are minified.
minify_html = true
# When set to "true", a feed is automatically generated.
generate_feed = true
# The taxonomies to be rendered for the site and their configuration of the default languages
taxonomies = [
{name = "categories", feed = true},
{name = "tags", feed = true},
]
# 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
render_emoji = true
external_links_target_blank = true
smart_punctuation = true
highlight_code = true
highlight_theme = "base16-ocean-dark"
[slugify]
paths = "on"
taxonomies = "on"
anchors = "on"
[extra]
# Put all your custom variables here
author = "Dirigo"
display_author = false
favicon = "favicon.ico"
image = "https://avatars.githubusercontent.com/u/1221456?v=4"
default_theme = "light"
list_pages = true
header_nav = [
{ url = "/", name_zh = "/首页/" },
{ url = "/archive", name_zh = "/归档/" },
{ url = "/tags", name_zh = "/标签/" },
{ url = "/book", name_zh = "/图书/" }
]
stylesheets = [
"css/custom.css"
]