theme: prepare for new hugo theme registration #13

This commit is contained in:
Sören Weber 2021-07-04 20:59:17 +02:00
parent f8cd6bf67a
commit f6df8bfb53
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
3 changed files with 36 additions and 36 deletions

View file

View file

@ -22,34 +22,38 @@ relativeURLs = true
themeVariant = "relearn"
[outputs]
home = [ "HTML", "RSS", "JSON"]
home = ["HTML", "RSS", "JSON"]
[module]
[module.hugoVersion]
min = "0.25"
[Languages]
[Languages.en]
title = "Documentation for Hugo Relearn Theme"
weight = 1
languageName = "English"
landingPageURL = "/"
landingPageName = "<i class='fas fa-home'></i> Home"
[Languages.en]
title = "Documentation for Hugo Relearn Theme"
weight = 1
languageName = "English"
landingPageURL = "/"
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/McShelby/hugo-theme-relearn"
weight = 10
[[Languages.en.menu.shortcuts]]
name = "<i class='fab fa-fw fa-github'></i> GitHub repo"
identifier = "ds"
url = "https://github.com/McShelby/hugo-theme-relearn"
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-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-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.en.menu.shortcuts]]
name = "<i class='fas fa-fw fa-bullhorn'></i> Credits"
url = "/credits"
weight = 30

View file

@ -1,16 +1,12 @@
# theme.toml template for a Hugo theme
# See https://github.com/spf13/hugoThemes#themetoml for an example
name = "Relearn"
license = "MIT"
licenselink = "https://github.com/McShelby/hugo-theme-relearn/blob/main/LICENSE.md"
description = "Documentation theme for Hugo"
homepage = "https://github.com/McShelby/hugo-theme-relearn/"
repo = "https://github.com/McShelby/hugo-theme-relearn"
tags = ["documentation", "grav", "learn", "relearn", "doc", "search"]
features = ["documentation", "menu", "nested sections", "search", "mermaid"]
min_version = 0.25
licenselink = "https://github.com/McShelby/hugo-theme-relearn/blob/main/LICENSE"
description = "A theme for Hugo"
homepage = "https://github.com/McShelby/hugo-theme-relearn"
demosite = "https://relearn.netlify.app"
tags = ["docs", "documentation", "grav", "learn", "multilingual", "relearn", "search"]
features = ["documentation", "expand", "menu", "mermaid", "multilingual", "nested sections", "notice", "search", "tabs", "themeable"]
[author]
name = "Sören Weber & others"
name = "Sören Weber"
homepage = "https://github.com/McShelby"