mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-19 03:10:24 +00:00
6cfd61e0f6
* enabled mermaid by default * implemented logic to use internal oder cdn mermaid * added english documentation * added french translation for the mermaid options * Removed useless test print * Hugo does not use upper case letters in params * fixed false sample link * improved mermaid pages * fixed always load mermaid if no frontmatter specified * applied 3 new params to default config * Implemented Home Button logic * Applied default style * applied same landingpage ref to logo partials * added sample image, how the button will looks like * added en documentation on how to configure the button * translated home button configuration to french via deepl * applied home button style to theme variants * set button disabled by default * fixed mermaid samples * removed obsolete css files * changed default version of mermaid cdn * renamed mermaidURL to customMermaidURL and removed css link * improved mermaid configuration description Co-authored-by: Arthur Ferdinand Lindner <Arthur-Ferdinand.Lindner@Telekom.de> Co-authored-by: Arthur Ferdinand Lindner <arthur.lindner@outlook.de>
112 lines
2.8 KiB
TOML
112 lines
2.8 KiB
TOML
baseURL = "/"
|
|
languageCode = "en-US"
|
|
defaultContentLanguage = "en"
|
|
|
|
title = "Hugo Learn Documentation"
|
|
theme = "hugo-theme-learn"
|
|
themesdir = "../.."
|
|
metaDataFormat = "yaml"
|
|
defaultContentLanguageInSubdir= true
|
|
|
|
[params]
|
|
editURL = "https://github.com/matcornic/hugo-theme-learn/edit/master/exampleSite/content/"
|
|
description = "Documentation for Hugo Learn Theme"
|
|
author = "Mathieu Cornic"
|
|
showVisitedLinks = true
|
|
disableBreadcrumb = false
|
|
disableNextPrev = false
|
|
disableLandingPageButton = true
|
|
disableMermaid = false
|
|
customMermaidURL = "https://unpkg.com/mermaid@8.8.0/dist/mermaid.min.js"
|
|
titleSeparator = "::"
|
|
|
|
[outputs]
|
|
home = [ "HTML", "RSS", "JSON"]
|
|
|
|
[Languages]
|
|
[Languages.en]
|
|
title = "Documentation for Hugo Learn Theme"
|
|
weight = 1
|
|
languageName = "English"
|
|
landingPageURL = "/en"
|
|
landingPageName = "<i class='fas fa-home'></i> Home"
|
|
|
|
[[Languages.en.menu.shortcuts]]
|
|
name = "<i class='fab fa-fw fa-github'></i> GitHub repo"
|
|
identifier = "ds"
|
|
url = "https://github.com/matcornic/hugo-theme-learn"
|
|
weight = 10
|
|
|
|
[[Languages.en.menu.shortcuts]]
|
|
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
|
url = "showcase"
|
|
weight = 11
|
|
|
|
[[Languages.en.menu.shortcuts]]
|
|
name = "<i class='fas fa-fw fa-bookmark'></i> Hugo Documentation"
|
|
identifier = "hugodoc"
|
|
url = "https://gohugo.io/"
|
|
weight = 20
|
|
|
|
[[Languages.en.menu.shortcuts]]
|
|
name = "<i class='fas fa-fw fa-bullhorn'></i> Credits"
|
|
url = "/credits"
|
|
weight = 30
|
|
|
|
[Languages.fr]
|
|
title = "Documentation du thème Hugo Learn"
|
|
weight = 2
|
|
languageName = "Français"
|
|
landingPageURL = "/fr"
|
|
landingPageName = "<i class='fas fa-home'></i> Accueil"
|
|
|
|
[[Languages.fr.menu.shortcuts]]
|
|
name = "<i class='fab fa-fw fa-github'></i> Repo GitHub"
|
|
identifier = "ds"
|
|
url = "https://github.com/matcornic/hugo-theme-learn"
|
|
weight = 10
|
|
|
|
[[Languages.fr.menu.shortcuts]]
|
|
name = "<i class='fas fa-fw fa-camera'></i> Vitrine"
|
|
url = "/showcase"
|
|
weight = 11
|
|
|
|
[[Languages.fr.menu.shortcuts]]
|
|
name = "<i class='fas fa-fw fa-bookmark'></i> Documentation Hugo"
|
|
identifier = "hugodoc"
|
|
url = "https://gohugo.io/"
|
|
weight = 20
|
|
|
|
[[Languages.fr.menu.shortcuts]]
|
|
name = "<i class='fas fa-fw fa-bullhorn'></i> Crédits"
|
|
url = "/credits"
|
|
weight = 30
|
|
|
|
[Languages.zh]
|
|
title = "Hugo 主题的 Learn 文档"
|
|
weight = 3
|
|
languageName = "简体中文"
|
|
landingPageURL = "/zh"
|
|
landingPageName = "<i class='fas fa-home'></i> 家"
|
|
|
|
[[Languages.zh.menu.shortcuts]]
|
|
name = "<i class='fab fa-fw fa-github'></i> GitHub 仓库"
|
|
identifier = "ds"
|
|
url = "https://github.com/matcornic/hugo-theme-learn"
|
|
weight = 10
|
|
|
|
[[Languages.zh.menu.shortcuts]]
|
|
name = "<i class='fas fa-fw fa-camera'></i> 展示区"
|
|
url = "/showcase"
|
|
weight = 11
|
|
|
|
[[Languages.zh.menu.shortcuts]]
|
|
name = "<i class='fas fa-fw fa-bookmark'></i> Hugo 文档"
|
|
identifier = "hugodoc"
|
|
url = "https://gohugo.io/"
|
|
weight = 20
|
|
|
|
[[Languages.zh.menu.shortcuts]]
|
|
name = "<i class='fas fa-fw fa-bullhorn'></i> 鸣谢"
|
|
url = "/credits"
|
|
weight = 30
|