-
Notifications
You must be signed in to change notification settings - Fork 26
/
config.toml
139 lines (121 loc) · 4.2 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# The URL the site will be built for
base_url = "https://justintennant.me/papaya"
default_language = "en"
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true
# When set to "true", a search index is built from the pages and section
# content for `default_language`.
build_search_index = false
# When set to "true", a feed is automatically generated.
generate_feed = true
[markdown]
# When set to "true", all code blocks are highlighted.
highlight_code = true
# The theme to use for code highlighting.
# See Zola configuration docs for list of allowed values.
highlight_theme = "css"
highlight_themes_css = [
{ theme = "material-dark", filename = "syntax-theme-dark.css" },
{ theme = "material-light", filename = "syntax-theme-light.css" },
]
[languages]
[languages.en]
title = "Papaya"
description = "A clean Zola theme for blogging and projects"
generate_feed = true
feed_filename = "atom.xml"
# The taxonomies to be rendered for the site and their configuration of the default languages
taxonomies = [
{ name = "tags", feed = true, lang = "en" },
{ name = "categories", feed = true, lang = "en" },
]
[languages.en.translations]
projects = "Projects"
blog = "Blog"
about = "About"
recent_projects = "Recent Projects"
more_projects = "More Projects"
recent_blog_posts = "Recent Blog Posts"
more_blog_posts = "More blog posts"
tag = "Tag"
tags = "Tags"
to_all_tags = "To all tags"
category = "Category"
categories = "Categories"
to_all_categories = "To all categories"
view_by = "View by"
other = "Other"
minute = "min"
prev_page = "To newer posts"
next_page = "To older posts"
# Customize your post date format. See: https://tera.netlify.app/docs/#date
date_format = "%B %e, %Y"
[languages.zh]
title = "帕帕雅"
description = "一个清新的 Zola 博客与项目模板"
base_url = "https://justintennant.me/papaya/zh"
generate_feed = true
# The taxonomies to be rendered for the site and their configuration of the default languages
taxonomies = [
{ name = "tags", feed = true, lang = "zh" },
{ name = "categories", feed = true, lang = "zh" },
]
[languages.zh.translations]
projects = "项目"
blog = "博文"
about = "关于"
recent_projects = "近期项目"
more_projects = "更多项目"
recent_blog_posts = "近期博文"
more_blog_posts = "更多博文"
tag = "标签"
tags = "所有标签"
to_all_tags = "所有标签"
category = "类别"
categories = "所有类别"
to_all_categories = "所有类别"
view_by = "查看方式"
other = "其他"
minute = "分钟"
prev_page = "上一页"
next_page = "下一页"
# Customize your post date format. See: https://tera.netlify.app/docs/#date
date_format = "%Y 年 %m 月 %d 日"
[extra]
# Development environment. Used by the page macros to load remote content only when in "prod" mode
env = "ZOLA_ENV"
# Color theme mode. Options: light, dark, auto (automatically switch depending on OS/user agent settings)
color_mode = "auto"
# List of Papaya navigational menu items. Used to construct the navigation bar. See the README for item schema.
menu_items = [
{ name = "projects", url = "$LANG_BASE_URL/projects", show_recent = true, recent_items = 3, recent_trans_key = "recent_projects", more_trans_key = "more_projects" },
{ name = "blog", url = "$LANG_BASE_URL/blog", show_recent = true, recent_items = 3, recent_trans_key = "recent_blog_posts", more_trans_key = "more_blog_posts" },
# tag is not a zola section, it's just a link.
{ name = "tags", url = "$LANG_BASE_URL/tags" },
{ name = "about", url = "$LANG_BASE_URL/about", show_recent = false },
]
[extra.images]
# Width defined in pixels
max_width = 2500
# Open Graph Protocol objects. See: https://ogp.me/
[extra.ogp]
locale = "en_US"
first_name = "Papaya"
last_name = "Tiliqua"
gender = "female"
username = "tiliquasp"
# Footer social links; full options listed in macros/social.html
[extra.social]
email = "[email protected]"
github = "papaya"
linkedin = "papayatiliqua"
twitter = "your-user-name"
zhihu = "your-user-name"
weibo = "your-user-name"
bilibili = "your-user-name"
other = [
{ name = "BTC", font_awesome = "fa-brands fa-btc", url = "https://www.bitcoin.com/" }
]
# CDN links
[extra.cdn]
font_awesome = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"