This repository has been archived by the owner on May 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
config.toml
77 lines (69 loc) · 2.68 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
baseURL = "https://mirrors.cqu.edu.cn/wiki/"
languageCode = "zh-CN"
defaultContentLanguage = "zh"
title = "Hugo Learn Documentation"
theme = "hugo-theme-learn"
themesdir = "themes/"
metaDataFormat = "yaml"
defaultContentLanguageInSubdir= true
# Enable Html support
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[params]
# Prefix URL to edit current page. Will display an "Edit this page" button on top right hand corner of every page.
# Useful to give opportunity to people to create merge request for your doc.
# See the config.toml file from this documentation site to have an example.
editURL = "https://github.com/cqumirror/mirror-wiki/tree/master/content/"
# Author of the site, will be used in meta information
author = "lanunion-editor"
# Description of the site, will be used in meta information
description = "editors"
# Shows a checkmark for visited pages on the menu
showVisitedLinks = false
# Disable search function. It will hide search bar
disableSearch = false
# Javascript and CSS cache are automatically busted when new version of site is generated.
# Set this to true to disable this behavior (some proxies don't handle well this optimization)
disableAssetsBusting = false
# Set this to true to disable copy-to-clipboard button for inline code.
disableInlineCopyToClipBoard = false
# A title for shortcuts in menu is set by default. Set this to true to disable it.
disableShortcutsTitle = false
# When using mulitlingual website, disable the switch language button.
disableLanguageSwitchingButton = true
# Order sections in menu by "weight" or "title". Default to "weight"
ordersectionsby = "title"
# Change default color scheme with a variant one. Can be "red", "blue", "green".
themeVariant = "blue"
# English is the default language
defaultContentLanguage = "zh"
# Force to have /en/my-page and /fr/my-page routes, even for default language.
defaultContentLanguageInSubdir= false
[outputs]
home = [ "HTML", "RSS", "JSON"]
[Languages]
[Languages.zh]
title = "cqumirror-wiki"
weight = 1
languageName = "简体中文"
#[[Languages.zh.menu.shortcuts]]
#name = "<i class='fa fa-fw fa-github'></i> Github repo"
#identifier = "ds"
#url = "https://github.com/matcornic/hugo-theme-learn"
#weight = 10
#[[Languages.zh.menu.shortcuts]]
#name = "<i class='fa fa-fw fa-camera'></i> Showcases"
#url = "showcase"
#weight = 11
#[[Languages.zh.menu.shortcuts]]
#name = "<i class='fa fa-fw fa-bookmark'></i> Hugo Documentation"
#identifier = "hugodoc"
#url = "https://gohugo.io/"
#weight = 20
#[[Languages.zh.menu.shortcuts]]
#name = "<i class='fa fa-fw fa-bullhorn'></i> Credits"
#url = "/credits"
#weight = 30