docs: add repo link

This commit is contained in:
krau
2025-06-16 17:05:31 +08:00
parent d4d39d1c07
commit e7e5b9f434
2 changed files with 12 additions and 9 deletions

View File

@@ -4,6 +4,7 @@ disablePathToLower = true
enableGitInfo = true
defaultContentLanguage = 'zh'
[module]
[[module.imports]]
path = 'github.com/alex-shpak/hugo-book'
@@ -16,15 +17,7 @@ BookSection = '*'
BookRepo = 'https://github.com/krau/saveany-bot'
BookCommitPath = 'commit'
BookEditPath = 'edit/main/docs'
# (Optional, default January 2, 2006) Configure the date format used on the pages
# - In git information
# - In blog posts
BookDateFormat = '2006/01/02'
# (Optional, default true) Enables search function with flexsearch,
# Index is built on fly, therefore it might slowdown your website.
# Configuration for indexing can be adjusted in i18n folder per language.
BookSearch = false
[languages]
@@ -34,11 +27,21 @@ languageName = "简体中文"
contentDir = "content/zh"
weight = 1
[[languages.zh.menu.before]]
name = "🔗 GitHub"
url = "https://github.com/krau/SaveAny-Bot"
weight = 10
[languages.en]
languageName = "English"
contentDir = "content/en"
weight = 2
[[languages.en.menu.before]]
name = "🔗 GitHub"
url = "https://github.com/krau/SaveAny-Bot"
weight = 10
[markup]
[markup.goldmark.renderer]
unsafe = true