-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
content;build: fix local build imgs, add new page (#2)
Signed-off-by: Luca Zeuch <l-zeuch@email.de>
- Loading branch information
Showing
5 changed files
with
76 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,41 @@ | ||
baseURL = 'https://botlabs-gg.github.io/yagpdb-docs-v2' | ||
# To avoid weirdness with images and whatnot, this is empty and instead set at build time. | ||
# See also https://discourse.gohugo.io/t/solved-what-should-be-used-for-the-value-of-site-baseurl/5896 | ||
baseURL = '' | ||
languageCode = 'en-us' | ||
title = 'YAGPDB Documentation v2' | ||
|
||
uglyURLs = true | ||
|
||
[markup] | ||
[markup.goldmark] | ||
[markup.goldmark.renderer] | ||
# Enable HTML tags in Markdown | ||
unsafe = true | ||
|
||
[module] | ||
[[module.imports]] | ||
path = 'github.com/McShelby/hugo-theme-relearn' | ||
[[module.imports]] | ||
path = 'github.com/McShelby/hugo-theme-relearn' | ||
|
||
[outputs] | ||
home = [ "HTML", "SEARCH" ] | ||
home = [ "HTML", "SEARCH" ] | ||
|
||
[params] | ||
themeVariant = [ | ||
{ identifier = "relearn-auto", name = "Relearn Light/Dark", auto = [] }, | ||
{ identifier = "relearn-light" }, | ||
{ identifier = "relearn-dark" }, | ||
{ identifier = "relearn-bright" }, | ||
{ identifier = "zen-auto", name = "Zen Light/Dark", auto = [ "zen-light", "zen-dark" ] }, | ||
{ identifier = "zen-light" }, | ||
{ identifier = "zen-dark" }, | ||
{ identifier = "neon" }, | ||
{ identifier = "learn" }, | ||
{ identifier = "blue" }, | ||
{ identifier = "green" }, | ||
{ identifier = "red" } | ||
] | ||
themeVariant = [ | ||
{ identifier = "relearn-auto", name = "Relearn Light/Dark", auto = [] }, | ||
{ identifier = "relearn-light" }, | ||
{ identifier = "relearn-dark" }, | ||
{ identifier = "relearn-bright" }, | ||
{ identifier = "zen-auto", name = "Zen Light/Dark", auto = [ "zen-light", "zen-dark" ] }, | ||
{ identifier = "zen-light" }, | ||
{ identifier = "zen-dark" }, | ||
{ identifier = "neon" }, | ||
{ identifier = "learn" }, | ||
{ identifier = "blue" }, | ||
{ identifier = "green" }, | ||
{ identifier = "red" } | ||
] | ||
|
||
collapsibleMenu = true | ||
disableRootBreadcrumb = true | ||
collapsibleMenu = true | ||
disableRootBreadcrumb = true | ||
disableInlineCopyToClipboard = true | ||
editURL = 'https://github.com/botlabs-gg/yagpdb-docs-v2/edit/master/content/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
<style> | ||
a#R-logo { | ||
color: #282828; | ||
color: var(--MENU-SECTIONS-BG-color); | ||
font-family: 'Work Sans', 'Helvetica', 'Tahoma', 'Geneva', 'Arial', sans-serif; | ||
font-size: 1.875rem; | ||
font-weight: 300; | ||
margin-top: -.8125rem; | ||
max-width: 60%; | ||
text-transform: uppercase; | ||
width: 14.125rem; | ||
white-space: nowrap; | ||
} | ||
a#R-logo { | ||
color: #282828; | ||
color: var(--MENU-SECTIONS-BG-color); | ||
font-family: 'Work Sans', 'Helvetica', 'Tahoma', 'Geneva', 'Arial', sans-serif; | ||
font-size: 1.875rem; | ||
font-weight: 300; | ||
margin-top: -.8125rem; | ||
max-width: 60%; | ||
text-transform: uppercase; | ||
width: 14.125rem; | ||
white-space: nowrap; | ||
} | ||
|
||
a#R-logo:hover { | ||
color: #282828; | ||
color: var(--MENU-SECTIONS-BG-color); | ||
} | ||
a#R-logo:hover { | ||
color: #282828; | ||
color: var(--MENU-SECTIONS-BG-color); | ||
} | ||
|
||
@media only all and (max-width: 59.999rem) { | ||
a#R-logo { | ||
font-size: 1.5625rem; | ||
margin-top: -.1875rem; | ||
} | ||
@media only all and (max-width: 59.999rem) { | ||
a#R-logo { | ||
font-size: 1.5625rem; | ||
margin-top: -.1875rem; | ||
} | ||
} | ||
|
||
@media all and (-ms-high-contrast:none) { | ||
{ | ||
{ | ||
"/* IE11s understanding of positioning is weird at best */" | safeCSS | ||
} | ||
} | ||
|
||
a#R-logo { | ||
margin-top: -3.625rem; | ||
} | ||
@media all and (-ms-high-contrast:none) { | ||
{ | ||
{ | ||
"/* IE11s understanding of positioning is weird at best */" | safeCSS | ||
} | ||
} | ||
|
||
img { | ||
margin-right: 0.5rem; | ||
margin-top: -0.25rem; | ||
vertical-align: middle; | ||
a#R-logo { | ||
margin-top: -3.625rem; | ||
} | ||
} | ||
|
||
img { | ||
margin-right: 0.5rem; | ||
margin-top: -0.25rem; | ||
vertical-align: middle; | ||
} | ||
</style> | ||
|
||
<a id="R-logo" href="/"> | ||
<img src="images/logo.png" width=30px height=30px>YAGPDB | ||
<a id="R-logo" href="{{ relURL "" }}"> | ||
<img src="/images/logo.png" width=30px height=30px>YAGPDB | ||
</a> |