Skip to content

Commit

Permalink
theme: prepare for new hugo theme registration matcornic#13
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Jul 4, 2021
1 parent f8cd6bf commit f6df8bf
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 40 deletions.
File renamed without changes.
62 changes: 33 additions & 29 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.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-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]
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='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
18 changes: 7 additions & 11 deletions theme.toml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit f6df8bf

Please sign in to comment.