mirror of
https://github.com/Xevion/powershell.git
synced 2025-12-06 15:15:55 -06:00
Use center theme, reading time, fix logo, add menu tabs
This commit is contained in:
27
config.toml
27
config.toml
@@ -22,7 +22,7 @@ showLanguageSelector = false
|
|||||||
fullWidthTheme = false
|
fullWidthTheme = false
|
||||||
|
|
||||||
# center theme with default width
|
# center theme with default width
|
||||||
centerTheme = false
|
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.
|
||||||
@@ -31,7 +31,8 @@ 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 = true
|
||||||
|
enableGitInfo = true
|
||||||
|
|
||||||
# set a custom favicon (default is a `themeColor` square)
|
# set a custom favicon (default is a `themeColor` square)
|
||||||
# favicon = "favicon.ico"
|
# favicon = "favicon.ico"
|
||||||
@@ -43,7 +44,7 @@ showLastUpdated = false
|
|||||||
# 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 = false # default
|
readingTime = true # default
|
||||||
|
|
||||||
# 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
|
||||||
@@ -78,15 +79,19 @@ missingContentMessage = "Page not found..."
|
|||||||
missingBackButtonLabel = "Back to home page"
|
missingBackButtonLabel = "Back to home page"
|
||||||
|
|
||||||
[languages.en.params.logo]
|
[languages.en.params.logo]
|
||||||
logoText = "Terminal"
|
logoText = "Powershell"
|
||||||
logoHomeLink = "/"
|
logoHomeLink = "/powershell/"
|
||||||
|
|
||||||
[languages.en.menu]
|
[languages.en.menu]
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
identifier = "about"
|
identifier = "subjects"
|
||||||
name = "Test"
|
name = "Subjects"
|
||||||
url = "/test/test.md"
|
url = "/subjects"
|
||||||
[[languages.en.menu.main]]
|
[[languages.en.menu.main]]
|
||||||
identifier = "showcase"
|
identifier = "scripts"
|
||||||
name = "Showcase"
|
name = "Scripts"
|
||||||
url = "/showcase"
|
url = "/scripts"
|
||||||
|
[[languages.en.menu.main]]
|
||||||
|
identifier = "writeups"
|
||||||
|
name = "Write-ups"
|
||||||
|
url = "writeups"
|
||||||
Reference in New Issue
Block a user