Commit graph

69 commits

Author SHA1 Message Date
Sören Weber
938debb1d9
mermaid: support differing themes for color variant switch #219 2022-03-19 20:18:21 +01:00
Sören Weber
dde1fe5241
mermaid: load javascript on demand #218 2022-03-16 22:40:38 +01:00
Sören Weber
e4112c77f6
docs: adjust breadcrumb and title for empty home page titles #202 2022-02-24 23:10:10 +01:00
Nuc1eoN
c2439bd4da exampleSite: fix editURL 2022-02-24 00:24:22 +01:00
Sören Weber
0ac5a7001a
docs: morrre love for pirrrates 2022-02-20 13:16:44 +01:00
Sören Weber
e9fa08dcf7
variant: build a color variant generator #188 2022-02-19 00:46:34 +01:00
Sören Weber
a856400626
#nav: fix arrow nav for unlisted pages #184 #185 2022-02-18 02:13:35 +01:00
Sören Weber
92cd36c2b6
docs: use build options for showcase #184 #185
to let piratified page show up the images
2022-02-17 13:22:18 +01:00
Sören Weber
cbce5ecbba
theme: add neon style #175
shameless inspiration of the GoboLinux wiki style
2022-02-17 00:53:31 +01:00
Sören Weber
9eb44953d9
theme: change default colors to Relearn defaults #181 2022-02-14 22:19:38 +01:00
Sören Weber
8c1a7304f9
theme: add a theme selector #178 2022-02-13 01:53:23 +01:00
Sören Weber
ddb993761b
docs: fully documentad config.toml 2022-02-11 01:49:03 +01:00
Sören Weber
9ea06563be
theme: support for dark mode #175 2022-02-11 00:59:40 +01:00
Sören Weber
00025afdee
docs: use light syntax highlightning theme #174 2022-02-08 19:55:09 +01:00
Sören Weber
6b4e1fbb75
exampleSite: fix official documentation served from subfolder #163 2022-02-06 02:14:00 +01:00
Sören Weber
2ec9dc70c8
exampleSite: make configuration work from subfolder and canonifyURLs=false #163 2022-02-06 01:55:07 +01:00
Sören Weber
63dccef035
toc: make omitting disableToc behave as the former default #133 2021-11-03 20:44:23 +01:00
Andreas H
01717b845d fix casing of disableToc parameter 2021-11-03 11:03:22 +01:00
Andreas H
c29b62f3a9 make disableTOC globally available via Site-Params in config.toml 2021-11-03 10:39:48 +01:00
Sören Weber
19e8ddbb77
docs: adjust docs to config.toml 2021-10-24 11:53:09 +02:00
Sören Weber
96d284eb8b
docs: unmention min Hugo version
as this is not verfied anymore and most likely outdated
2021-10-24 11:44:07 +02:00
Sören Weber
d673b2c240
theme: generate correct links if theme served from subdirectory #120 2021-10-17 23:03:41 +02:00
Sören Weber
d339ad464f
docs: curse like a real pirrrate #112 2021-10-12 23:52:05 +02:00
Sören Weber
8cf870d36c
docs: add example for local shortcut link #112 2021-10-12 23:50:41 +02:00
Sören Weber
ce0b07cf65
theme: default color for code block fallback - fix 2021-10-12 17:15:56 +02:00
Sören Weber
87dda78cdc
theme: default color for code block fallback 2021-10-12 17:11:02 +02:00
Sören Weber
fdd5ff7ab8
clarify caveats for mermaid code fences 2021-10-07 23:01:04 +02:00
Sören Weber
6c8bbd9383
remove outdated Hugo stuff
https://discourse.gohugo.io/t/what-does-metadataformat-do/20542/2
2021-09-28 21:50:29 +02:00
Sören Weber
0b2379269d
docs: add hint for search in config.toml 2021-09-28 21:35:59 +02:00
Sören Weber
a96e6b93f8
docs: change chroma theme as it looks weird for certain markers #99 2021-09-23 22:13:37 +02:00
Sören Weber
714b790f0e
docs: block code doesn't always has a background #100 2021-09-23 21:46:32 +02:00
Sören Weber
02c72c9f31
docs: rename english pirate translation to avoid crash on rendering #90 2021-09-20 22:04:35 +02:00
Sören Weber
5574ec073e
docs: showcase multilang feature #87
Arrr, Pirrrate trrranslat'n
2021-09-11 15:46:14 +02:00
Sören Weber
2775489287
sitemap: turn off indexing of hidden pages in exampleSite #85 2021-09-10 00:17:58 +02:00
Sören Weber
5c667b3d07
code highligher: switch to standard hugo highlighter #32
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.
2021-07-26 11:50:34 +02:00
Sören Weber
a9e7e8f68b
expand: add unsafe html to config to allow nested shortcodes 2021-07-16 23:15:04 +02:00
Sören Weber
f6df8bfb53
theme: prepare for new hugo theme registration #13 2021-07-04 20:59:17 +02:00
Sören Weber
c450aa48e7
removing mermaid CDN dependency from exampleSite #7
to let example work in local installations
2021-07-02 22:18:25 +02:00
Sören Weber
6b7779dac5
merge theme js scripts into one file and fix mermaid init #5 2021-07-02 21:58:16 +02:00
Sören Weber
3564d9ebfa
expose mermaid options in config.toml #4 2021-07-02 18:12:34 +02:00
Sören Weber
bd9983978b
Hardening examplesite against misconfiguration 2021-07-01 21:47:17 +02:00
Sören Weber
9cc3f7103c
Compliance: Rename branch master to main 2021-07-01 11:01:51 +02:00
Sören Weber
4137b5d2c5 Iconic relearn color theme 2021-06-30 23:15:51 +02:00
Sören Weber
494a3c8b7c Repair links after making content single language 2021-06-30 21:30:03 +02:00
Sören Weber
e4abaabb4c Remove more references 2021-06-30 14:56:51 +02:00
Sören Weber
c108d677b4 Rebranding to new theme name
- Rename theme from "Learn" to "Relearn"
- also change URLs
- remove old references
- more removal of french and chinese
2021-06-30 14:56:06 +02:00
mirisbowring
6cfd61e0f6
Navigation home option (#381)
* 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>
2020-10-21 17:53:27 +01:00
mirisbowring
023fe7ef2b
Customize mermaid module (#362)
* 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

* 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>
2020-09-11 14:57:25 +01:00
Razon Yang
00f1ca6856
Add the titleSeparator parameter. (#448)
* Add the titleSeparator parameter

* Add a description for the titleSeparator parameter
2020-09-11 09:31:22 +01:00
Zhao Xiaojie
be4f62237c Add shortcut for Chinese language 2019-12-06 15:48:50 +08:00