tdl/docs/hugo.yaml

61 lines
1.3 KiB
YAML

baseURL: "https://example.com/"
title: tdl
enableGitInfo: true
canonifyURLs: true
module:
imports:
- path: github.com/alex-shpak/hugo-book
# Needed for mermaid/katex shortcodes
markup:
highlight:
style: onedark
goldmark:
renderer:
unsafe: true
tableOfContents:
startLevel: 1
params:
BookTheme: auto
BookRepo: https://github.com/iyear/tdl
BookSection: "*"
BookSearch: true # container will be mounted by docsearch
BookEditPath: edit/master/docs
BookCommitPath: commit
BookDateFormat: 2006/01/02
BookTranslatedOnly: true
languages:
en:
languageName: English
contentDir: content/en
weight: 1
menu:
before:
- name: "🔗 GitHub"
url: "https://github.com/iyear/tdl"
weight: 10
- name: "👨‍💻 Author"
url: "https://github.com/iyear"
weight: 20
- name: "🌟 Donate"
url: "https://www.patreon.com/iyear"
weight: 30
zh:
languageName: 简体中文
contentDir: content/zh
weight: 2
menu:
before:
- name: "🔗 项目主页"
url: "https://github.com/iyear/tdl"
weight: 10
- name: "👨‍💻 作者"
url: "https://github.com/iyear"
weight: 20
- name: "🌟 捐赠"
url: "https://afdian.net/a/iyear"
weight: 30