summaryrefslogtreecommitdiffstats
path: root/src/themes/serene/zola.toml.example
diff options
context:
space:
mode:
Diffstat (limited to 'src/themes/serene/zola.toml.example')
-rw-r--r--src/themes/serene/zola.toml.example80
1 files changed, 80 insertions, 0 deletions
diff --git a/src/themes/serene/zola.toml.example b/src/themes/serene/zola.toml.example
new file mode 100644
index 0000000..02f00fd
--- /dev/null
+++ b/src/themes/serene/zola.toml.example
@@ -0,0 +1,80 @@
+base_url = "https://example.com"
+title = "xxxx"
+description = "xxxx xxxx xxxx"
+default_language = "en"
+theme = "serene"
+output_dir = "public"
+compile_sass = true
+minify_html = false # Keep this false, as it may cause issues with some styles
+build_search_index = false # Keep this false, search is temporarily unsupported
+generate_feeds = false # Whether to generate a feed file in root, read docs for more info about rss feed
+feed_filenames = ["feed.xml"] # "feed.xml" | "atom.xml" | "rss.xml", read docs for more info
+taxonomies = [{ name = "tags" }, { name = "categories" }]
+
+[markdown]
+render_emoji = false
+external_links_target_blank = false
+external_links_no_follow = true
+external_links_no_referrer = true
+smart_punctuation = false
+github_alerts = true
+
+[markdown.highlighting]
+style = "class"
+light_theme = "github-light"
+dark_theme = "github-dark"
+
+[slugify]
+paths = "on"
+taxonomies = "on"
+anchors = "on"
+
+#=========================================================================================
+
+[extra]
+
+nav = [
+ { name = "posts", path = "/posts" },
+ # { name = "tags", path = "/tags" },
+ # { name = "github", path = "https://github.com/<your-username>" },
+]
+
+# Your info on the home page, if you don't want to display handle/bio/avatar, simply comment out that line
+name = "Jhon Wick"
+handle = "jhonwick"
+bio = "dog person, killer"
+avatar = "img/avatar.webp"
+links = [
+ { name = "GitHub", icon = "github", url = "https://github.com/<your-username>" },
+ { name = "Email", icon = "email", url = "mailto:<your-email-address>" },
+ { name = "Twitter", icon = "twitter", url = "https://twitter.com/<your-username>" },
+ { name = "Mastodon", icon = "mastodon", url = "https://mastodon.social/<your-username>", rel_me = true },
+]
+blog_section_path = "/posts" # Path of the main blog section, used by home page's recent posts and tags pages
+
+back_link_text = "Back" # Text of the back button
+color_scheme = "auto" # "auto" | "light" | "dark"
+
+# og_image = "img/og.png" # The default image for social media sharing (Open Graph), a path in static folder or a full URL
+
+footer_copyright = "© 2025 <your-name>"
+footer_credits = true # Whether to show "Built with zola and serene" in footer
+
+not_found_error_text = "404 Not Found"
+not_found_recover_text = "« back to home »"
+
+# Site-wide default values of display options, can be overridden in a section's `_index.md`, and again in a post's front-matter
+date_format = "%b %-d, %Y"
+toc = true # show table-of-contents
+code_copy = true # show copy button in code block
+comment = false # enable comment
+math = false # enable formula rendering with KaTeX
+mermaid = false # enable chart rendering with Mermaid
+outdated_alert = false # show outdate alert after certain days
+outdated_alert_days = 120
+outdated_alert_text_before = "This article was last updated "
+outdated_alert_text_after = " days ago and may be out of date."
+
+reaction = false # Whether to enable anonymous emoji reactions (Note: You need to set up a working api endpoint to enable this feature)
+reaction_align = "right" # "left" | "center" | "right"
+reaction_endpoint = "https://example.com/api/reaction"