diff --git a/.gitmodules b/.gitmodules index f2ae054..c4235bb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "themes/forty"] path = themes/forty url = https://github.com/MarcusVirg/forty +[submodule "themes/docdock"] + path = themes/docdock + url = https://github.com/vjeantet/hugo-theme-docdock.git diff --git a/config.toml b/config.toml index e8b2be5..791a91b 100644 --- a/config.toml +++ b/config.toml @@ -1,178 +1,69 @@ # Site settings baseURL = "https://haasp.net/" + languageCode = "en-us" -title = "HomeAutomationAndSecurityPlatform" -theme = "forty" +DefaultContentLanguage = "en" +title = "HAASP" +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" + -# Enter your tracking code to enable Google Analytics -googleAnalytics = "" -# Enter your disqus shortname to enable comments -disqusShortname = "" [params] - # You can use Markdown syntax for urls [text](//url.to/source) - # To create multi-line text in strings use the """example Text""" format - # - # All icons using Fontawesome's icon font. Look at fontawesome.io/icons - # for more icons. The icons are represented by their corresponding - # CSS class. +editURL = "" +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 - # Provide your metadata here. - name = "CMtec" - description = "Your description" - - # Link custom assets relative to /static - custom_css = [] - custom_js = [] - favicon = "favicon.ico" - - # Just a custom image variable, please define it in .md files for content. - image = "" - - # 404 error customization - [params.error404] - heading = "Page couldn't be found" - text = "Please visit [this page](/)" - - # Navigation Section - [params.navigation] - title = "Forty" - subtitle = "By HTML5 Up" - menu = "Menu" - # Optional logo as brand stored in img/ - # logo = "logo.png" - - [[params.navigation.links]] - name = "Home" - url = "#" - - [[params.navigation.links]] - name = "Blogs" - url = "blogs" - - [[params.navigation.links]] - name = "Generic Blog" - url = "blogs/ipsum" - - [[params.navigation.links]] - name = "Elements" - url = "elements.html" - - # Add custom links here by uncommenting code below. To remove links just delete - # the [[params.navigation.links]] map associated with that link. Copy and paste - # code below if you need more links. Buttons work in the same way. - # [[params.navigation.links]] - # name = "NameOfLink" - # url = "UrlOfLink" - - # Button Style 1 - [[params.navigation.button1]] - name = "Get Started" - url = "blogs" - - # Button Style 2 - [[params.navigation.button2]] - name = "Log In" - url = "#" +[outputs] +home = [ "HTML", "RSS", "JSON"] - # Banner section - [params.banner] - # To change the background image on the homepage banner, replace 'banner.jpg' in - # the 'static/img' folder. - title = "HAASP" - subtitle = "<<< BY PROGRAMMERS FOR PROGRAMMERS >>>" - buttonText = "Learn more" +[[menu.shortcuts]] +pre = "