-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.example.toml
70 lines (59 loc) · 2.94 KB
/
config.example.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
# serene v1.2.0 (check for update at https://github.com/isunjn/serene/releases)
base_url = "https://example.com" # Domain name of your website
title = "xxxx"
description = "xxxx xxxx xxxx"
default_language = "en"
theme = "tranquil"
output_dir = "public"
compile_sass = true
minify_html = true
build_search_index = false # Keep this false, search is temporarily unsupported
generate_feed = false # Whether to generate a feed file in root, read docs for more info about rss feed
feed_filename = "feed.xml" # The file name of feed, "feed.xml" / "atom.xml" / "rss.xml", read docs for more info
taxonomies = [{ name = "tags" }, { name = "categories" }]
[markdown]
highlight_code = true
highlight_theme = "css"
extra_syntaxes_and_themes = ["highlight_themes"]
highlight_themes_css = [
{ theme = "tranquil-light", filename = "hl-light.css"},
{ theme = "tranquil-dark", filename = "hl-dark.css"},
]
render_emoji = false
external_links_target_blank = true
external_links_no_follow = true
external_links_no_referrer = true
smart_punctuation = true
[slugify]
paths = "on"
taxonomies = "on"
anchors = "on"
insert_anchor_links = "left"
#=========================================================================================
[extra]
name = "xxxx" # Your name
id = "xxxx" # Your id / username / handle
bio = "xxxx" # Your bio
avatar = "img/avatar.webp" # Your avatar
links = [ # Your links
{ name = "GitHub", icon = "github", url = "https://github.com/<your-username>" },
{ name = "Twitter", icon = "twitter", url = "https://twitter.com/<your-username>" },
{ name = "Email", icon = "email", url = "mailto:<your-email-address>" },
]
nav_separator = " > "
display_id = true # Display your id on homepage
projects_page = true # Display projects page
blog_categorized = true # Whether to categorize blog posts
blur_effect = true # Whether to turn on blur effect on navigation bar
toc = true # Whether to show Table-Of-Contents by default
comment = false # Whether to show giscus comment section by default, see https://giscus.app for more info
copy = true # Whether to add a copy button on code blocks by default
back_to_top = true # Whether to show back-to-top button by default
outdate_alert = false # Whether to show outdate alert by default
outdate_alert_days = 120 # How many days will a post be outdated by default
outdate_alert_text_before = "This article was last updated "
outdate_alert_text_after = " days ago and may be out of date."
footer_copyright = "© 2023 <your-name>"
footer_credits = true # Whether to show "Powered by Zola and Serene" in footer
footer_privacy_text = "Privacy Policy"
footer_privacy = false