91 lines
3.7 KiB
TOML
91 lines
3.7 KiB
TOML
|
# serene v2.1.2
|
||
|
#
|
||
|
# - docs: https://github.com/isunjn/serene/blob/latest/USAGE.md
|
||
|
# - check for updates: 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 = "serene"
|
||
|
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 = "serene-light", filename = "hl-light.css"},
|
||
|
{ theme = "serene-dark", filename = "hl-dark.css"},
|
||
|
]
|
||
|
render_emoji = false
|
||
|
external_links_target_blank = false
|
||
|
external_links_no_follow = true
|
||
|
external_links_no_referrer = true
|
||
|
smart_punctuation = false
|
||
|
|
||
|
[slugify]
|
||
|
paths = "on"
|
||
|
taxonomies = "on"
|
||
|
anchors = "on"
|
||
|
|
||
|
#=========================================================================================
|
||
|
|
||
|
[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>" },
|
||
|
]
|
||
|
|
||
|
homepage_layout = "about" # "about" | "list"
|
||
|
|
||
|
sections = [
|
||
|
{ name = "blog", path = "/blog", is_external = false },
|
||
|
{ name = "projects", path = "/projects", is_external = false },
|
||
|
# { name = "about", path = "/about", is_external = false },
|
||
|
# { name = "github", path = "https://github.com/<your-username>", is_external = true },
|
||
|
]
|
||
|
blog_section_path = "/blog"
|
||
|
|
||
|
nav_separator = "::"
|
||
|
nav_wrapper_left = "{"
|
||
|
nav_wrapper_right = "} ;"
|
||
|
nav_wrapper_separator = ","
|
||
|
|
||
|
display_id = true # Whether to display your id on homepage
|
||
|
blog_categorized = true # Whether to categorize blog posts
|
||
|
blur_effect = true # Whether to turn on blur effect on navigation bar
|
||
|
back_to_top = true # Whether to show back-to-top button on post pages
|
||
|
|
||
|
toc = true # Whether to show Table-Of-Contents by default
|
||
|
copy = true # Whether to add a copy button on code blocks by default
|
||
|
comment = false # Whether to show giscus comment section by default, see https://giscus.app for more info
|
||
|
display_tags = true # Whether to display tags on post pages by default
|
||
|
truncate_summary = false # Whether to truncate the summary of a post 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
|
||
|
|
||
|
not_found_title = "404"
|
||
|
not_found_error_text = "Not Found"
|
||
|
not_found_recover_text = "« back to home »"
|