Convert docdock theme from submodule to native files and fix Hugo compatibility
This commit is contained in:
70
themes/docdock/exampleSite/config.toml
Normal file
70
themes/docdock/exampleSite/config.toml
Normal file
@@ -0,0 +1,70 @@
|
||||
baseURL = "/"
|
||||
|
||||
languageCode = "en-us"
|
||||
DefaultContentLanguage = "en"
|
||||
title = "DocDock Documentation"
|
||||
theme = "hugo-theme-docdock"
|
||||
themesdir = "../.."
|
||||
pygmentsCodeFences = true
|
||||
pygmentsStyle = "monokailight"
|
||||
|
||||
defaultContentLanguage = "en"
|
||||
defaultContentLanguageInSubdir= false
|
||||
enableMissingTranslationPlaceholders = false
|
||||
|
||||
|
||||
# [Languages]
|
||||
# [Languages.en]
|
||||
# title = "Documentation for Hugo docDock"
|
||||
# weight = 1
|
||||
# languageName = "English"
|
||||
#
|
||||
# [Languages.fr]
|
||||
# title = "Documentation du thème docDock"
|
||||
# weight = 2
|
||||
# languageName = "Français"
|
||||
|
||||
|
||||
[markup]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
[params]
|
||||
editURL = "https://github.com/vjeantet/hugo-theme-docdock/edit/master/exampleSite/content/"
|
||||
showVisitedLinks = true # default is false
|
||||
themeStyle = "flex" # "original" or "flex" # default "flex"
|
||||
themeVariant = "" # choose theme variant "green", "gold" , "gray", "blue" (default)
|
||||
ordersectionsby = "weight" # ordersectionsby = "title"
|
||||
disableHomeIcon = false # default is false
|
||||
disableSearch = false # default is false
|
||||
disableNavChevron = false # set true to hide next/prev chevron, default is false
|
||||
highlightClientSide = false # set true to use highlight.pack.js instead of the default hugo chroma highlighter
|
||||
menushortcutsnewtab = false # set true to open shortcuts links to a new tab/window
|
||||
enableGitInfo = true
|
||||
|
||||
[outputs]
|
||||
home = [ "HTML", "RSS", "JSON"]
|
||||
|
||||
|
||||
[[menu.shortcuts]]
|
||||
pre = "<h3>More</h3>"
|
||||
name = "<i class='fa fa-github'></i> <label>Github repo</label>"
|
||||
identifier = "ds"
|
||||
url = "https://github.com/vjeantet/hugo-theme-docdock"
|
||||
weight = 10
|
||||
|
||||
[[menu.shortcuts]]
|
||||
name = "<i class='fa fa-cloud-download'></i> <label>Download</label>"
|
||||
url = "https://github.com/vjeantet/hugo-theme-docdock/archive/master.zip"
|
||||
weight = 11
|
||||
|
||||
[[menu.shortcuts]]
|
||||
name = "<i class='fa fa-bookmark'></i> <label>Hugo Documentation</label>"
|
||||
identifier = "hugodoc"
|
||||
url = "https://gohugo.io/"
|
||||
weight = 20
|
||||
|
||||
[[menu.shortcuts]]
|
||||
name = "<i class='fa fa-bullhorn'></i> <label>Credits</label>"
|
||||
url = "/credits"
|
||||
weight = 30
|
||||
Reference in New Issue
Block a user