summaryrefslogtreecommitdiff
path: root/zola.toml
diff options
context:
space:
mode:
Diffstat (limited to 'zola.toml')
-rw-r--r--zola.toml72
1 files changed, 72 insertions, 0 deletions
diff --git a/zola.toml b/zola.toml
new file mode 100644
index 0000000..cd4e8ca
--- /dev/null
+++ b/zola.toml
@@ -0,0 +1,72 @@
+# 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 site title and description; used in feeds by default.
+title = "无何有之乡"
+description = "the Land of Nothingless"
+
+# 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.highlighting]
+style = "class"
+light_theme = "solarized-light"
+dark_theme = "one-dark-pro"
+
+[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 = "加载中..."