baseURL = 'https://go.cyub.vip/' languageCode = 'zh-cn' title = '深入Go语言之旅' theme = "hugo-book" disqusShortname = 'go-cyub-vip' googleAnalytics = "G-BQ229RRTTX" [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 = 'https://static.cyub.vip/images/202310/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 # 评论 # @see https://zhauniarovich.com/post/2021/2021-06-giscus/ [params.comments] # Comment provider: provider = "giscus" # Which page types are commentable? # commentable = {page = true, post = true, docs = false, project = false, publication = true, talk = false} # Configuration of giscus [params.comments.giscus] repo = "cyub/go-1.14.13" # Repo where the comments will live repo_id = "MDEwOlJlcG9zaXRvcnkzMzc2ODUyMzQ=" # Repo where the comments will live category = "Announcements" # Repo where the comments will live category_id = "DIC_kwDOFCCq8s4CZ3BC" # Repo where the comments will live mapping = "pathname" # How Utterances will match comment to page label = "comment" # Label applied to issue by utteranc.es bot theme = "preferred_color_scheme" # What theme to use reactions_enabled = 0