You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.1 KiB
TOML
62 lines
2.1 KiB
TOML
baseURL = 'https://go.cyub.vip/'
|
|
languageCode = 'zh-cn'
|
|
title = '深入Go语言之旅'
|
|
theme = "hugo-book"
|
|
|
|
[menu]
|
|
# [[menu.before]]
|
|
[[menu.before]]
|
|
name = "个人博客"
|
|
url = "https://www.cyub.vip/"
|
|
weight = 10
|
|
|
|
[[menu.before]]
|
|
name = "Github主页"
|
|
url = "https://github.com/cyub"
|
|
weight = 20
|
|
|
|
[[menu.before]]
|
|
name = "地鼠文档"
|
|
url = "https://www.topgoer.cn/?ref=go.cyub.vip"
|
|
weight = 30
|
|
|
|
|
|
[params]
|
|
# (Optional, default light) Sets color theme: light, dark or auto.
|
|
# Theme 'auto' switches between dark and light modes based on browser/os preferences
|
|
BookTheme = 'light'
|
|
|
|
# (Optional, default true) Controls table of contents visibility on right side of pages.
|
|
# Start and end levels can be controlled with markup.tableOfContents setting.
|
|
# You can also specify this parameter per page in front matter.
|
|
BookToC = false
|
|
|
|
# (Optional, default favicon.png) Set the path to a favicon file.
|
|
# If the favicon is /static/favicon.png then the path would be favicon.png
|
|
# BookFavicon = 'favicon.png'
|
|
|
|
# (Optional, default none) Set the path to a logo for the book.
|
|
# If the logo is /static/logo.png then the path would be logo.png
|
|
BookLogo = 'http://go2.cyub.vip/_static/golang-480.png'
|
|
|
|
# (Optional, default none) Set leaf bundle to render as side menu
|
|
# When not specified file structure and weights will be used
|
|
BookMenuBundle = '/menu'
|
|
|
|
# (Optional, default docs) Specify root page to render child pages as menu.
|
|
# Page is resoled by .GetPage function: https://gohugo.io/functions/getpage/
|
|
# For backward compatibility you can set '*' to render all sections to menu. Acts same as '/'
|
|
BookSection = '*'
|
|
|
|
# Configure the date format used on the pages
|
|
# - In git information
|
|
# - In blog posts
|
|
BookDateFormat = 'January 2, 2006'
|
|
|
|
|
|
# /!\ This is an experimental feature, might be removed or changed at any time
|
|
# (Optional, experimental, default false) Enables portable links and link checks in markdown pages.
|
|
# Portable links meant to work with text editors and let you write markdown without {{< relref >}} shortcode
|
|
# Theme will print warning if page referenced in markdown does not exists.
|
|
BookPortableLinks = true
|