fix table of contents
This commit is contained in:
parent
1042c60d44
commit
ea41092a68
1 changed files with 83 additions and 75 deletions
158
config.toml
158
config.toml
|
@ -6,96 +6,104 @@ theme = "terminal"
|
||||||
paginate = 5
|
paginate = 5
|
||||||
enableEmoji = true
|
enableEmoji = true
|
||||||
|
|
||||||
|
|
||||||
|
[markup]
|
||||||
|
[markup.tableOfContents]
|
||||||
|
endLevel = 5
|
||||||
|
ordered = false
|
||||||
|
startLevel = 1
|
||||||
|
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
# dir name of your main content (default is `content/posts`).
|
# dir name of your main content (default is `content/posts`).
|
||||||
# the list of set content will show up on your index page (baseurl).
|
# the list of set content will show up on your index page (baseurl).
|
||||||
contentTypeName = "posts"
|
contentTypeName = "posts"
|
||||||
|
|
||||||
# ["orange", "blue", "red", "green", "pink"]
|
# ["orange", "blue", "red", "green", "pink"]
|
||||||
themeColor = "pink"
|
themeColor = "pink"
|
||||||
# if you set this to 0, only submenu trigger will be visible
|
# if you set this to 0, only submenu trigger will be visible
|
||||||
showMenuItems = 5
|
showMenuItems = 5
|
||||||
|
|
||||||
# show selector to switch language
|
# show selector to switch language
|
||||||
showLanguageSelector = false
|
showLanguageSelector = false
|
||||||
|
|
||||||
# set theme to full screen width
|
# set theme to full screen width
|
||||||
fullWidthTheme = false
|
fullWidthTheme = false
|
||||||
|
|
||||||
# center theme with default width
|
# center theme with default width
|
||||||
centerTheme = true
|
centerTheme = true
|
||||||
|
|
||||||
# if your resource directory contains an image called `cover.(jpg|png|webp)`,
|
# if your resource directory contains an image called `cover.(jpg|png|webp)`,
|
||||||
# then the file will be used as a cover automatically.
|
# then the file will be used as a cover automatically.
|
||||||
# With this option you don't have to put the `cover` param in a front-matter.
|
# With this option you don't have to put the `cover` param in a front-matter.
|
||||||
autoCover = true
|
autoCover = true
|
||||||
|
|
||||||
# set post to show the last updated
|
# set post to show the last updated
|
||||||
# If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
|
# If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
|
||||||
showLastUpdated = false
|
showLastUpdated = false
|
||||||
|
|
||||||
# set a custom favicon (default is a `themeColor` square)
|
# set a custom favicon (default is a `themeColor` square)
|
||||||
favicon = "favicon.ico"
|
favicon = "favicon.ico"
|
||||||
|
|
||||||
# Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author
|
# Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author
|
||||||
# updatedDatePrefix = "Updated"
|
# updatedDatePrefix = "Updated"
|
||||||
|
|
||||||
# set all headings to their default size (depending on browser settings)
|
# set all headings to their default size (depending on browser settings)
|
||||||
# oneHeadingSize = true # default
|
# oneHeadingSize = true # default
|
||||||
|
|
||||||
# whether to show a page's estimated reading time
|
# whether to show a page's estimated reading time
|
||||||
readingTime = true
|
readingTime = true
|
||||||
|
|
||||||
# whether to show a table of contents
|
# whether to show a table of contents
|
||||||
# can be overridden in a page's front-matter
|
# can be overridden in a page's front-matter
|
||||||
# Toc = false # default
|
# Toc = false # default
|
||||||
|
|
||||||
# set title for the table of contents
|
# set title for the table of contents
|
||||||
# can be overridden in a page's front-matter
|
# can be overridden in a page's front-matter
|
||||||
TocTitle = "TOC"
|
TocTitle = "TOC"
|
||||||
|
|
||||||
[languages]
|
[languages]
|
||||||
[languages.en]
|
[languages.en]
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
title = "MycoSystems co-op"
|
title = "MycoSystems co-op"
|
||||||
|
|
||||||
[languages.en.params]
|
[languages.en.params]
|
||||||
subtitle = "We are a developer collective working to bring open, private, and democratized internet infrastructure into the hands of local communities and users."
|
subtitle = "We are a developer collective working to bring open, private, and democratized internet infrastructure into the hands of local communities and users."
|
||||||
owner = ""
|
owner = ""
|
||||||
keywords = ""
|
keywords = ""
|
||||||
copyright = ""
|
copyright = ""
|
||||||
menuMore = "Show more"
|
menuMore = "Show more"
|
||||||
readMore = "Read more"
|
readMore = "Read more"
|
||||||
readOtherPosts = "Read other posts"
|
readOtherPosts = "Read other posts"
|
||||||
newerPosts = "Newer posts"
|
newerPosts = "Newer posts"
|
||||||
olderPosts = "Older posts"
|
olderPosts = "Older posts"
|
||||||
missingContentMessage = "Page not found..."
|
missingContentMessage = "Page not found..."
|
||||||
missingBackButtonLabel = "Back to home page"
|
missingBackButtonLabel = "Back to home page"
|
||||||
minuteReadingTime = "min read"
|
minuteReadingTime = "min read"
|
||||||
words = "words"
|
words = "words"
|
||||||
|
|
||||||
[languages.en.params.logo]
|
[languages.en.params.logo]
|
||||||
logoText = "MycoSystems"
|
logoText = "MycoSystems"
|
||||||
logoHomeLink = "/"
|
logoHomeLink = "/"
|
||||||
|
|
||||||
[languages.en.menu]
|
[languages.en.menu]
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
identifier = "about"
|
identifier = "about"
|
||||||
name = "About"
|
name = "About"
|
||||||
url = "/about"
|
url = "/about"
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
identifier = "events"
|
identifier = "events"
|
||||||
name = "Events"
|
name = "Events"
|
||||||
url = "/events"
|
url = "/events"
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
identifier = "resources"
|
identifier = "resources"
|
||||||
name = "Resources"
|
name = "Resources"
|
||||||
url = "/resources"
|
url = "/resources"
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
identifier = "projects"
|
identifier = "projects"
|
||||||
name = "Projects"
|
name = "Projects"
|
||||||
url = "/projects"
|
url = "/projects"
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
identifier = "ideas"
|
identifier = "ideas"
|
||||||
name = "Ideas"
|
name = "Ideas"
|
||||||
url = "/ideas"
|
url = "/ideas"
|
||||||
|
|
Loading…
Add table
Reference in a new issue