
/ 搜索cd your-zola-site
git clone https://github.com/raskell-io/tanuki themes/tanuki
或者作为 git 子模块:
git submodule add https://github.com/raskell-io/tanuki themes/tanukibase_url = "https://docs.example.com"
title = "My Project Docs"
theme = "tanuki"
build_search_index = true
[markdown]
highlight_code = true
highlight_theme = "css"
[extra]
mode = "docs"
github = "https://github.com/you/project"
# 可选:版本选择器
[extra.versions]
current = "2.0.0"
list = [
{ version = "2.0.0", url = "/", label = "latest" },
{ version = "1.0.0", url = "/v1/" },
]base_url = "https://book.example.com"
title = "The Complete Guide"
theme = "tanuki"
build_search_index = true
[markdown]
highlight_code = true
highlight_theme = "css"
[extra]
mode = "book"
github = "https://github.com/you/book"base_url = "https://blog.example.com"
title = "My Blog"
theme = "tanuki"
generate_feeds = true
taxonomies = [
{ name = "tags", feed = true },
]
[markdown]
highlight_code = true
highlight_theme = "css"
[extra]
mode = "blog"
[extra.hero]
title = "Welcome to my blog"
subtitle = "Thoughts on code and craft"
[[extra.nav]]
name = "Blog"
url = "/blog/"
[[extra.nav]]
name = "About"
url = "/about/"| 按键 | 动作 |
|---|---|
← / → | 上一页 / 下一页 |
/ | 打开搜索 |
Esc | 关闭覆盖层 |
现代浏览器(Chrome 88+, Firefox 78+, Safari 14+, Edge 88+)
Made with care by raskell.io