Add repository button to the navbar

This commit is contained in:
daudix
2024-08-18 02:32:22 +03:00
parent 67c698b949
commit c69b4a3e4f
6 changed files with 28 additions and 10 deletions

View File

@ -98,10 +98,12 @@ show_read_time = true
# words_per_minute = "200"
[extra.nav]
# Whether to show Atom/RSS feed button in the nav
# Whether to show the Atom/RSS feed button in the nav
show_feed = true
# Whether to show manual theme switcher in the nav
# 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".
@ -110,7 +112,6 @@ links = [
{ url = "@/blog/_index.md", name = "Blog" },
{ url = "@/demo/index.md", name = "Demo" },
{ url = "@/tricks/index.md", name = "Tricks" },
{ url = "https://codeberg.org/daudix/duckquill", name = "Repo" },
]
[extra.footer]
@ -120,7 +121,6 @@ links = [
{ url = "@/blog/_index.md", name = "Blog" },
{ url = "@/demo/index.md", name = "Demo" },
{ url = "@/tricks/index.md", name = "Tricks" },
{ url = "https://codeberg.org/daudix/duckquill", name = "Repo" },
]
# Social links in the footer.
# Any URL-encoded SVG can be used as an icon.