aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2025-10-17 20:39:20 +0300
committerA Farzat <a@farzat.xyz>2025-10-17 20:39:20 +0300
commit23f3e923d35315086d5bc971172c76201552669c (patch)
treeb4602728b50d8f9998c99e7b71ac0bbc0dd526f7
parent603d13f0b062940e9d63ef49a4d055c5f40d76dd (diff)
downloadfarzat.xyz-23f3e923d35315086d5bc971172c76201552669c.tar.gz
farzat.xyz-23f3e923d35315086d5bc971172c76201552669c.zip
Add a navigation bar
-rw-r--r--config.toml22
1 files changed, 21 insertions, 1 deletions
diff --git a/config.toml b/config.toml
index 4e1243b..772670f 100644
--- a/config.toml
+++ b/config.toml
@@ -9,7 +9,7 @@ build_search_index = true
minify_html = true
theme = "duckquill"
-author = "Farzat"
+author = "A Farzat"
title = "A Farzat"
description = "Farzat's personal webite."
@@ -33,3 +33,23 @@ highlight_code = true
[extra]
# URL to website's source code
source_url = "https://cgit.farzat.xyz/sites/farzat.xyz/"
+
+[extra.nav]
+# Whether to automatically hide nav when not hovered or focused
+# auto_hide = true
+# Whether to show the Atom/RSS feed button in the nav
+show_feed = true
+# Whether to show the manual theme switcher in the nav
+show_theme_switcher = true
+# Whether to show the link to the source repository in the nav
+show_repo = true
+# Links used in the nav.
+# For local files use same link format as in Markdown,
+# i.e. "@/blog/_index.md".
+# See https://www.getzola.org/documentation/content/linking/#internal-links
+links = [
+ { name = "Links", menu = [
+ { url = "@/blog/_index.md", name = "Blog" },
+ ] },
+ { url = "@/contact/index.md", name = "Contact" }
+]