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 = "

More

" +name = " " +identifier = "ds" +url = "https://github.com/vjeantet/hugo-theme-docdock" +weight = 10 +[[menu.shortcuts]] +name = " " +url = "https://github.com/vjeantet/hugo-theme-docdock/archive/master.zip" +weight = 11 - # Tiles Section - [params.tiles] - enable = true - # Display your showcases here. - - [[params.tiles.showcase]] - title = "Aliquam" - subtitle = "Ipsum Dolor Sit Amet" - image = "pic01.jpg" - url = "blogs/aliquam" +[[menu.shortcuts]] +name = " " +identifier = "hugodoc" +url = "https://gohugo.io/" +weight = 20 - [[params.tiles.showcase]] - title = "Tempus" - subtitle = "Feugiat Amet Tempus" - image = "pic02.jpg" - url = "blogs/tempus" - - [[params.tiles.showcase]] - title = "Magna" - subtitle = "Lorem Etiam Nullam" - image = "pic03.jpg" - url = "blogs/magna" - - [[params.tiles.showcase]] - title = "Ipsum" - subtitle = "Nisl Sed Aliquam" - image = "pic04.jpg" - url = "blogs/ipsum" - - [[params.tiles.showcase]] - title = "Consequat" - subtitle = "Ipsum Dolor Sit Amet" - image = "pic05.jpg" - url = "blogs/ipsum" - - [[params.tiles.showcase]] - title = "Etiam" - subtitle = "Feugiat Amet Tempus" - image = "pic06.jpg" - url = "blogs/ipsum" - # You can make more showcases by copy and pasting the code above - - [params.blog] - # All blogs defined in their own files. You can find example blogs - # at 'exampleSite/content/blogs'. Copy the 'blogs' folder into the 'content' directory - # at the root of this Hugo site. - # For more informtion take a look at the README. - # To add more blogs just copy and paste the code. - - # Section Type Two - [params.two] - enable = true - title = "Massa libero" - subtitle = """Nullam et orci eu lorem consequat tincidunt vivamus et sagittis libero. - Mauris aliquet magna magna sed nunc rhoncus pharetra. - Pellentesque condimentum sem. In efficitur ligula tate urna. Maecenas laoreet massa vel lacinia pellentesque lorem ipsum dolor. - Nullam et orci eu lorem consequat tincidunt. Vivamus et sagittis libero. - Mauris aliquet magna magna sed nunc rhoncus amet pharetra et feugiat tempus.""" - buttonText = "Get Started" - url = "blogs" - - - # Contact section - [params.contact] - enable = true - buttonSend = "Send message" - buttonClear = "Clear" - - # Since this template is static, the contact form uses www.formspree.io as a - # proxy. The form makes a POST request to their servers to send the actual - # email. Visitors can send up to a 1000 emails each month for free. - # - # What you need to do for the setup? - # - # - set your email address under 'email' below and uncomment - # - upload the generated site to your server - # - send a dummy email yourself to confirm your account - # - click the confirm link in the email from www.formspree.io - # - you're done. Happy mailing! - formEmail = "info@haasp.net" - - # Footer section - [params.footer] - enable = true - copyright = "CMtec" - - [[params.footer.quicklinks]] - text = "Design: " - url= "https://www.html5up.net" - alt = "HTML5 UP" +[[menu.shortcuts]] +name = " " +url = "/credits" +weight = 30 diff --git a/themes/docdock b/themes/docdock new file mode 160000 index 0000000..b45f372 --- /dev/null +++ b/themes/docdock @@ -0,0 +1 @@ +Subproject commit b45f372056c0b9b3cad93205bda3ce141aa3665b diff --git a/themes/forty b/themes/forty deleted file mode 160000 index ad1b71f..0000000 --- a/themes/forty +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ad1b71f3d7e00d17eb61576f8357261645a158e3