summaryrefslogtreecommitdiff
path: root/config.toml
blob: 058cdc408c84b79ae47519c475b4156922eddd47 (plain)
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
# The URL the site will be built for
base_url = "https://blog.135e2.dev"

# Whether to automatically compile all Sass files in the sass directory
compile_sass = true

# The default language; used in feeds.
default_language = "zh-cn"

# theme
theme = "Seje2"

# When set to "true", the generated HTML files are minified.
minify_html = true

# When set to "true", a feed is automatically generated.
generate_feeds = true

# The filename to use for the feed. Used as the template filename, too.
# Defaults to "atom.xml", which has a built-in template that renders an Atom 1.0 feed.
# There is also a built-in template "rss.xml" that renders an RSS 2.0 feed.
feed_filenames = ["rss.xml"]

taxonomies = [
    {name = "categories", feed = true},
    {name = "tags", feed = true},
]

[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
highlight_theme = "css"
highlight_themes_css = [
  { theme = "one-dark", filename = "syntax-theme-dark.css" },
  { theme = "solarized-light", filename = "syntax-theme-light.css" },
]

[extra]
# Put all your custom variables here
# show Chinese date format instead of normal date format
seje_chinese_date = true
# show summary instead of the whole article on the index page
seje_show_summary_only = true
# Google Font API mirror URLs (for China mainland users, try fonts.loli.net)
seje_font_mirror = "fonts.googleapis.com"
# whether use traditional Chinese style vertical layout
seje_vertical_layout = false
# additional custom fonts to include (must be in CSS font-family format)
seje_custom_fonts = ""
# whether enable darkmode. Possible values: auto, always, never
seje_darkmode = "auto"
# Your site blog links
seje_menu_links = [
    {url = "$BASE_URL/", name = "home"},
    {url = "$BASE_URL/archives", name = "archives"},
    {url = "$BASE_URL/about",  name = "about"},
    {url = "$BASE_URL/tags", name = "tag"},
    {url = "$BASE_URL/rss.xml", name = "rss"},
]

[translations]
title = "无何有之乡"
home = "主页"
archives = "归档"
about = "关于"
tag = "标签"
rss = "订阅"
more = "查看全文"
olderArticle = "旧文章"
newer = "上一篇"
older = "下一篇"
loading = "加载中..."