Skip to content

Commit

Permalink
update config.toml (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
fatedier authored Oct 11, 2023
1 parent 04f8896 commit 2c0e804
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,32 @@ baseURL = "/"
title = "frp"

# Language settings
contentDir = "content/en"
contentDir = "content/zh-cn"
defaultContentLanguage = "zh-cn"
defaultContentLanguageInSubdir = false
# Useful when translating.
enableMissingTranslationPlaceholders = true

enableRobotsTXT = true

# Hugo allows theme composition (and inheritance). The precedence is from left to right.
theme = ["github.com/google/docsy", "github.com/google/docsy/dependencies"]

# Will give values to .Lastmod etc.
enableGitInfo = true

# Comment out to enable taxonomies in Docsy
disableKinds = ["taxonomy"]

[taxonomies]
tag = "tags"
category = "categories"

[params.taxonomy]
# set taxonomyCloud = [] to hide taxonomy clouds
taxonomyCloud = ["tags", "categories"]
# If used, must have same length as taxonomyCloud
taxonomyCloudTitle = ["Tag Cloud", "Categories"]
# set taxonomyPageHeader = [] to hide taxonomies on the page headers
taxonomyPageHeader = ["tags", "categories"]

# Highlighting config
pygmentsCodeFences = true
pygmentsUseClasses = false
Expand Down Expand Up @@ -66,6 +74,7 @@ title = "frp"
languageName ="English"
# Weight used for sorting.
weight = 1
contentDir = "content/en"
params.description = "frp official website"
[languages.zh-cn]
title = "frp"
Expand All @@ -76,6 +85,8 @@ params.description = "frp official website"

[markup]
[markup.goldmark]
[markup.goldmark.parser.attribute]
block = true
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
Expand Down Expand Up @@ -129,7 +140,7 @@ github_branch= "master"
# gcs_engine_id = "011737558837375720776:fsdu1nryfng"

# Enable Algolia DocSearch
[search]
[params.search]
algolia = false

# Enable Lunr.js offline search
Expand Down

0 comments on commit 2c0e804

Please sign in to comment.