Skip to content

Commit

Permalink
fix: toml config parse [params.author] wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
xianmin committed Jan 5, 2024
1 parent 31f6c60 commit baa2b23
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
5 changes: 2 additions & 3 deletions dev-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,8 @@ defaultContentLanguage = "en" # Default language to use (if you setup multiling
homeFullContent = false # if false, show post summaries on home page. Otherwise show full content.
rssFullContent = true # if false, Rss feed instead of the summary

[params.author]
name = "Jane" # essential # 必需
url = "/about" # optional # 可选
author.name = "Jane" # essential # 必需
author.url = "/about" # optional # 可选

# site info (optional) # 站点信息(可选,不需要的可以直接注释掉)
logoTitle = "Jane" # default: the title value # 默认值: 上面设置的title值
Expand Down
7 changes: 3 additions & 4 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ defaultContentLanguage = "en" # Default language to use
homeFullContent = false # if false, show post summaries on home page. Otherwise show full content.
rssFullContent = true # if false, Rss feed instead of the summary

[params.author]
name = "xianmin" # essential # 必需
email = "[email protected]" # optional, for RSS # 可选
url = "/about" # optional # 可选
author.name = "Jane" # essential # 必需
author.email = "[email protected]" # optional, for RSS # 可选
author.url = "/about" # optional # 可选

# site info (optional) # 站点信息(可选,不需要的可以直接注释掉)
logoTitle = "Jane" # default: the title value # 默认值: 上面设置的title值
Expand Down
7 changes: 3 additions & 4 deletions exampleSite/full-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,9 @@ defaultContentLanguage = "en" # Default language to use
rssFullContent = true # if false, Rss feed instead of the summary
mainSections = ["post"]

[params.author]
name = "xianmin" # essential # 必需
email = "[email protected]" # optional, for RSS # 可选
url = "/about" # optional # 可选
author.name = "Jane" # essential # 必需
author.email = "[email protected]" # optional, for RSS # 可选
author.url = "/about" # optional # 可选

# site info (optional) # 站点信息(可选,不需要的可以直接注释掉)
logoTitle = "Jane" # default: the title value # 默认值: 上面设置的title值
Expand Down

0 comments on commit baa2b23

Please sign in to comment.