mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
5c667b3d07
Since a while, Hugo has its own mechanism for code highlightning. We remove the old highlightning code provided by the client-side javascript library highlight.js and all its related files. This also solves issues introduced by Hugos own highlightning because in our theme we are currently highlighting the code twice leading to unpredictiable results. This will also fix an issue were light code highlightning themes weren't displayed correctly because our styles are overwriting color information. Another advantage is the huge list of supported languages which by far exceeds our current list. On the downside, this is a breaking change because our current color theme isn't supported by Hugo.
66 lines
1.6 KiB
TOML
66 lines
1.6 KiB
TOML
baseURL = "https://example.com"
|
|
languageCode = "en-US"
|
|
defaultContentLanguage = "en"
|
|
|
|
title = "Hugo Relearn Documentation"
|
|
theme = "hugo-theme-relearn"
|
|
themesdir = "../.."
|
|
metaDataFormat = "yaml"
|
|
defaultContentLanguageInSubdir = true
|
|
relativeURLs = true
|
|
|
|
[params]
|
|
editURL = "https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/"
|
|
description = "Documentation for Hugo Relearn Theme"
|
|
author = "Sören Weber"
|
|
showVisitedLinks = true
|
|
disableBreadcrumb = false
|
|
disableNextPrev = false
|
|
disableLandingPageButton = true
|
|
disableMermaid = false
|
|
titleSeparator = "::"
|
|
themeVariant = "relearn"
|
|
|
|
[outputs]
|
|
home = ["HTML", "RSS", "JSON"]
|
|
|
|
[markup]
|
|
[markup.highlight]
|
|
style = "monokai"
|
|
|
|
[markup.goldmark.renderer]
|
|
unsafe= true
|
|
|
|
[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
|