-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
37 lines (28 loc) · 1.2 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
googleAnalytics = 'G-0V2LQT41CG'
baseURL = 'https://readchina.github.io/comics/'
languageCode = 'en-us'
title = 'Comics'
theme = 'hugo-book'
# Book configuration
enableGitInfo = true
[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 = 'auto'
# (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 = 'logo.svg'
# (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 = '*'
# Set source repository location.
# Used for 'Last Modified' and 'Edit this page' links.
BookRepo = 'https://github.com/readchina/comics'
# Enable "Edit this page" links for 'doc' page type.
# Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
# Edit path must point to root directory of repo.
BookEditPath = 'edit/main'
[markup.goldmark.renderer]
unsafe = true
BookPortableLinks = true