Commit graph

448 commits

Author SHA1 Message Date
Sören Weber
0e61737c53
variants: release generator to public #188 2022-02-21 00:24:22 +01:00
Sören Weber
442a4f4832
variant: move scripts to own file #188 2022-02-20 23:58:16 +01:00
Sören Weber
c31edb7f1f
variant: only export generated colors if changed from parent #188 2022-02-20 17:33:16 +01:00
Sören Weber
0ac5a7001a
docs: morrre love for pirrrates 2022-02-20 13:16:44 +01:00
Sören Weber
ae40b24182
docs: added limitiations for Mermaid graphs #187 2022-02-20 12:51:19 +01:00
Sören Weber
3beb0bb18c
variant: fix arrow directions in generator #188 2022-02-20 00:10:08 +01:00
Sören Weber
83393ef5b8
variant: add download for generator #188 2022-02-19 14:21:16 +01:00
Sören Weber
864d1d83ab
variant: fix standalone colors in generator #188 2022-02-19 01:24:35 +01:00
Sören Weber
88a7b03b4f
variant: fix mapping #188 2022-02-19 00:53:12 +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
ff06a8ad41
docs: clarify releasenotes 2022-02-17 20:38:47 +01:00
Sören Weber
d1cd818357
clipboard: i18n #186 2022-02-17 20:09:50 +01:00
Sören Weber
7c1d85558d
breadcrumb: hide unpublished pages #185 2022-02-17 14:19:34 +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
abfc79fa0f
docs: fix pirrrates notice box #175 2022-02-16 23:32:40 +01:00
Sören Weber
9c445a7c94
docs: remove mouse cursor from screenshot 2022-02-16 23:24:59 +01:00
Sören Weber
2a2d0da435
docs: showcasing GoboLinux 2022-02-16 23:21:45 +01:00
Sören Weber
1921dcb07c
docs: add some tests for code formatting #175 2022-02-16 23:21:22 +01:00
Sören Weber
269fd5ed95
theme: rework color boxes for dark mode #175 2022-02-16 01:38:44 +01:00
Sören Weber
691f9a9334
docs: clarification 2022-02-15 09:01:35 +01:00
Sören Weber
949429faab
nav: rework edit button #151 2022-02-15 00:22:34 +01:00
Sören Weber
08ef8b70c7
docs: clarification for syntax highlightning theme switch 2022-02-14 22:32:53 +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
8ddeec4b7a
docs: add latest features 2022-02-14 21:44:01 +01:00
Sören Weber
a48a7f540b
menu: fix scrollbar height #180 2022-02-14 20:34:18 +01:00
Sören Weber
9fa21358d5
docs: reword #178 2022-02-13 02:03:53 +01:00
Sören Weber
8c1a7304f9
theme: add a theme selector #178 2022-02-13 01:53:23 +01:00
Sören Weber
4fda7916ff
menu: set footer position at bottom of screen #177 2022-02-12 23:14:33 +01:00
Sören Weber
ddb993761b
docs: fully documentad config.toml 2022-02-11 01:49:03 +01:00
Sören Weber
f761f1fcea
docs: update credits 2022-02-11 01:25:05 +01:00
Sören Weber
9ea06563be
theme: support for dark mode #175 2022-02-11 00:59:40 +01:00
Sören Weber
f32eb1af93
docs: mention chroma themes CSS --MAIN-CODE colors #174 2022-02-08 21:34:35 +01:00
Sören Weber
00025afdee
docs: use light syntax highlightning theme #174 2022-02-08 19:55:09 +01:00
Sören Weber
f16fcdd7fd
syntax highlight: fix comments for CSS colors 2022-02-08 08:38:09 +01:00
GitHub Actions Bot
29c2b29f6c Ship tag 2.9.6 2022-02-07 21:59:09 +00:00
GitHub Actions Bot
0cfab810f1 Ship tag 2.9.5 2022-02-07 21:54:05 +00:00
Sören Weber
ae700e465f
theme: arrr, warrrn about brrroken pirrrate pages globally and fix whitespace 2022-02-06 14:10:11 +01:00
GitHub Actions Bot
f246e3e0bd Ship tag 2.9.4 2022-02-06 01:17:02 +00:00
Sören Weber
6b4e1fbb75
exampleSite: fix official documentation served from subfolder #163 2022-02-06 02:14:00 +01:00
GitHub Actions Bot
fe2504636e Ship tag 2.9.3 2022-02-06 01:10:57 +00:00
Sören Weber
676ba8a7bb
exampleSite: arrr, let pirrrates rrread sites from subfolder with canonifyURLs=false #163 2022-02-06 01:59:26 +01:00
Sören Weber
fbd431c613
exampleSite: arrr, make showcase worrrk for pirrrates #163 2022-02-06 01:59:26 +01:00
Sören Weber
2ec9dc70c8
exampleSite: make configuration work from subfolder and canonifyURLs=false #163 2022-02-06 01:55:07 +01:00
GitHub Actions Bot
3fbf06aabd Ship tag 2.9.2 2021-11-26 09:57:28 +00:00
Sören Weber
7a5ef80c09
docs: fix typo 2021-11-24 12:01:36 +01:00
GitHub Actions Bot
b6f9f5703e Ship tag 2.9.1 2021-11-22 11:11:46 +00:00
Sören Weber
d4362ba997
docs: fix in migration regex #156 2021-11-20 11:26:04 +01:00
Sören Weber
f91b102e03
docs: manual changelog addition #156 2021-11-19 23:47:09 +01:00
GitHub Actions Bot
743fa5bd8f Ship tag 2.9.0 2021-11-19 22:43:06 +00:00
Sören Weber
b91b555aa0
relref: fix inconsistent behaviour #156
by removing our own implementation fo ref/relref
2021-11-19 23:37:19 +01:00
Sören Weber
5c306f0327
test: files for #149 2021-11-13 14:10:29 +01:00
GitHub Actions Bot
a3c8eec28c Ship tag 2.8.3 2021-11-09 20:38:58 +00:00
GitHub Actions Bot
2bfbd0c38c Ship tag 2.8.2 2021-11-08 15:55:08 +00:00
GitHub Actions Bot
da99510f6e Ship tag 2.8.1 2021-11-04 18:28:07 +00:00
GitHub Actions Bot
8a90e237f3 Ship tag 2.8.0 2021-11-03 21:03:39 +00:00
Sören Weber
a48824d991
docs: update showcases #137
remove old Learn showcases
2021-11-03 22:00:00 +01:00
Sören Weber
f143dadf9a
Merge branch 'bits-add-showcase' of git://github.com/BITS-Training/hugo-theme-relearn into BITS-Training-bits-add-showcase 2021-11-03 21:56:05 +01:00
Sören Weber
147b97fac0
docs: update notice for removed font #83 2021-11-03 21:51:25 +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
c90db9fe74 add BITS-Training to showcase 2021-11-03 14:23:56 +01:00
Andreas H
beb80e48fc added Documentation for disableToc in config.toml 2021-11-03 11:10:35 +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
8f7c0da9e7
theme: remove unused fonts #83
because we only support IE11 and evergreen browsers, having woff and woff2 is enough
2021-10-30 23:10:57 +02:00
Sören Weber
70e7e603f8
theme: make favicon configurable #2 2021-10-30 22:00:46 +02:00
Sören Weber
3446aa4230
mermaid: only load javascript if necessary #95 2021-10-30 20:31:52 +02:00
GitHub Actions Bot
22180dcf07 Ship tag 2.7.0 2021-10-24 11:08:14 +00:00
Sören Weber
d0e8300e1e
docs: typo 2021-10-24 13:03:38 +02:00
Sören Weber
85f55aaceb
docs: updated screenshots
because of earlier changes to color
2021-10-24 13:01:01 +02: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
3fe72e76e1
docs: announce new notice parameter #124 2021-10-24 11:41:12 +02:00
Sören Weber
3ffdf79c27
docs: switch to some kind of EBNF for shortcodes 2021-10-24 11:34:29 +02:00
David Lawrence
c239e76501
add support for optional parameter to use as title for notices 2021-10-21 19:20:30 -07:00
GitHub Actions Bot
d1a935c299 Ship tag 2.6.0 2021-10-21 23:18:13 +00:00
Sören Weber
0d3c097f8c
task: lowercase contributing.md 2021-10-19 17:24:10 +02:00
Sören Weber
ae7dacb331
task: remove unreferenced license file 2021-10-19 17:21:54 +02:00
Sören Weber
69497ee14e
docs: migration hint for serving from subdirectory #120 2021-10-17 23:17:13 +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
e9e6722e66
docs: example for blockquote cite 2021-10-12 18:49:24 +02:00
Sören Weber
227e9ccbf2
wildspace 2021-10-12 17:20:45 +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
aa5875d5ca
Ship tag 2.5.1 2021-10-12 16:48:09 +02:00
Sören Weber
7c1dd4c32c
docs: add missing code colors to documentation #113 2021-10-10 17:28:13 +02:00
Sören Weber
5bbeb9445c
Ship tag 2.5.0 2021-10-08 19:33:45 +02:00
Sören Weber
788823920c
syntax highlight: provide default colors for unknown languages #113 2021-10-08 19:18:05 +02:00
Sören Weber
fdd5ff7ab8
clarify caveats for mermaid code fences 2021-10-07 23:01:04 +02:00
Sören Weber
a2fa096c3e
Test for https://github.com/matcornic/hugo-theme-learn/issues/517 2021-10-07 21:41:56 +02:00
Sören Weber
992cfb0b8b
Ship tag 2.4.1 2021-10-07 21:30:10 +02:00
Sören Weber
0ca4005cfb
Ship tag 2.4.0 2021-10-07 21:24:12 +02:00
Sören Weber
5d515e9d17
docs: what's new page #103 2021-10-07 21:19:55 +02:00
Sören Weber
dffc0cb230
theme: simplify stylesheet for color variants #107 2021-09-30 00:17:16 +02:00
Sören Weber
80a3cb9756
theme: equal rights for h6 #92 2021-09-29 00:24:54 +02:00
Sören Weber
d20698eb0f
docs: use notice box instead of wacky text 2021-09-29 00:01:32 +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
a0e5194c00
attachments: fix search dir and link if contentDir in multilang config is used #105 2021-09-28 21:24:30 +02:00
Sören Weber
16b346c646
menu: frontmatter option to change sort predicate #98 2021-09-27 22:03:10 +02:00
Sören Weber
5d98f7d31f
hidden pages: remove from taxonomy #102 2021-09-24 06:59:28 +02:00
Sören Weber
3d0554124a
menu: add default setting for menu expansion #97 2021-09-23 22:27:58 +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
891ecac371
Ship tag 2.3.2 2021-09-20 22:25:47 +02:00
Sören Weber
57fad461eb
Ship tag 2.3.2 2021-09-20 22:23:05 +02:00
Sören Weber
a020acab09
docs: rename history pirate translation #91 2021-09-20 22:21:33 +02:00
Sören Weber
354bb1cdf1
Ship tag 2.3.1 2021-09-20 22:09:34 +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
6e61a7e1e4
docs: edit changelog after release 2021-09-13 21:20:06 +02:00
Sören Weber
c4e5ed068a
Ship tag 2.3.0 2021-09-13 21:15:23 +02:00
Sören Weber
03205f9f26
theme: fix usage of <section> in exampleSite #88 2021-09-13 19:28:14 +02:00
Sören Weber
7fce3b516f
theme: wildspace 2021-09-12 10:33:24 +02:00
Sören Weber
a62c1ee500
theme: remove obvious HTML validator warnings 2021-09-12 01:32:19 +02:00
Sören Weber
aa54732f09
theme: wildspace
in partials and generated output
2021-09-12 00:40:03 +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
5818228df3
Ship tag 2.2.0 2021-09-10 01:15:46 +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
fed2e0392c
sitemap: hide hidden pages from sitemap and SEO indexing #85 2021-09-09 22:26:24 +02:00
Sören Weber
d2051088d5
Ship tag 2.1.0 2021-09-07 21:46:42 +02:00
Sören Weber
234412e2d2
docs: add new templates #78 2021-09-07 21:32:21 +02:00
Sören Weber
28450684a9
search: adding test for expander content
search for 'maybe' to see expander text also been searched
2021-09-04 00:50:08 +02:00
Sören Weber
97336b2339
search: disable search in hidden pages #76
- invert config flag to streamline with other flags
- invert default value to emulate pre-patch behaviour
2021-09-03 20:01:46 +02:00
Sören Weber
a78207ab4e
Merge branch 'fix-index-json-encoding' of git://github.com/helfper/hugo-theme-relearn into helfper-fix-index-json-encoding 2021-09-03 19:31:06 +02:00
Helder Pereira
c75e5532f9 Fix index.json encoding 2021-08-31 10:45:33 +01:00
Sören Weber
f1375dfe52
docs: first draft of contribution guidelines 2021-08-30 22:30:00 +02:00
Sören Weber
9bc3f4e416
docs: remove internal issue from changelog 2021-08-28 12:32:29 +02:00
Sören Weber
7315c6036c
Ship tag 2.0.0 2021-08-28 12:22:53 +02:00
Sören Weber
c8e7609be8
docs: add migration instructions #42 2021-08-28 12:05:53 +02:00
Sören Weber
0dc7e60676
theme: update credits 2021-08-28 11:43:44 +02:00
Sören Weber
2bde4c602e
docs: more links for starters 2021-08-28 11:18:43 +02:00
Sören Weber
8a7dce6ce5
docs: elaborate on fork decision #26 2021-08-28 10:39:54 +02:00
Sören Weber
3931faa1d5
include: add paramter to hide first heading #43 2021-08-28 10:08:10 +02:00
Sören Weber
4ba89ec502
docs: show subpages in children example 2021-08-28 09:36:06 +02:00
Sören Weber
7059329c01
theme: adjust block margins #64 2021-08-27 18:21:12 +02:00
Sören Weber
3df27ef251
theme: example for adjacent tables #64 2021-08-27 15:28:23 +02:00
Sören Weber
7800611d01
docs: children example improved #62 2021-08-27 01:00:11 +02:00
Sören Weber
39957388d4
children: default sorting ignores ordersectionsby #62 2021-08-27 00:27:41 +02:00
Sören Weber
d3f70bd846
menu: show hidden pages if accessed directly #60 2021-08-26 23:26:05 +02:00
Sören Weber
43e600bc0c
add more tests for hidden pages #60 2021-08-26 22:16:43 +02:00
Sören Weber
da9be46f31
docs: improve hidden page examples 2021-08-26 20:54:31 +02:00
Helder Pereira
6efb50a010 Add menu-pre and menu-post templates 2021-08-25 13:54:52 +01:00
Sören Weber
2e445d2584
docs: make shortcodes main page a chapter #54
to adjust with the rest of the page structure
2021-08-25 14:49:46 +02:00
Sören Weber
1fda1d8692
children: add parameter for container style #53 2021-08-25 14:45:01 +02:00
Sören Weber
15cfc82ddb
theme: convert front matter to TOML #52
remove date field
2021-08-25 13:33:29 +02:00
Sören Weber
a69236d160
menu: control sub-menu expansion #49 2021-08-25 00:10:09 +02:00
Helder Pereira
37d314b676 Fix typos in exampleSite 2021-08-24 00:47:18 +01:00
Helder Pereira
c52ef52f2b Fix custom theme's variable typo in --MENU-HOME-LINK-HOVERED-color 2021-08-23 23:51:54 +01:00
Helder Pereira
757d2f06dc Fix home link when base URL has some path 2021-08-23 23:48:41 +01:00
Sören Weber
0d66a97284
code highlighter: avoid unstyled blocks for indention in docs #32 2021-08-24 00:25:15 +02:00
Sören Weber
b29f1ce055
theme: adjust leading whitespace and superflous lines 2021-08-24 00:23:52 +02:00
Sören Weber
de7b3d8056
theme: remove typos and superflous whitespace 2021-08-23 23:51:52 +02:00
Sören Weber
42c8ec549b
code highlighter: avoid unstyled blocks in docs #32
The new highlighter does not work to well if no syntax is specified
for the code block / code fence / indention.
See https://github.com/gohugoio/hugo/pull/8917
2021-08-23 23:32:34 +02:00
Sören Weber
32d3d80b80
docs: show CHANGELOG in exampleSite #33 2021-08-23 22:20:29 +02:00
Sören Weber
c4215dd154
include: new shortcode #43
necessary for inclusion of CHANGELOG.md
2021-08-23 22:16:08 +02:00
Sören Weber
2a5deb0534
docs: move CHANGELOG into exampleSite #33
that makes it possible to include it into the official documentation
2021-08-23 22:13:16 +02:00
Sören Weber
c31371b871
theme: migration page #42 2021-08-23 21:20:24 +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
bb5541f791
attachments: sort output #23 2021-07-26 11:14:27 +02:00
Sören Weber
c62a9d1958
docs: unifiy mermaid, expand and notice docs #31 2021-07-26 10:10:10 +02:00
Sören Weber
4b4a6bc5e2
docs: Cleanup markdown reference page #31 2021-07-26 01:47:25 +02:00
Sören Weber
c161a2c03d
docs: add missing lightbox showcase #31 2021-07-25 22:41:53 +02:00
Sören Weber
4d5d7f6815
attachments: support i18n for attachment size #21 2021-07-17 12:37:24 +02:00
Sören Weber
050837bc3f
expand: add option to open on page load #25 2021-07-16 23:51:11 +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
5f7cba3d97
rework expand documentation 2021-07-16 22:35:20 +02:00
Sören Weber
86317356d6
notice: rework documentation 2021-07-16 22:04:22 +02:00
Sören Weber
a0084ecf96
notice: support multiple blocks in one box #15 2021-07-16 19:48:48 +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
e2ae88d0cf
show some mermaid default values in docs #5 2021-07-02 23:18:54 +02:00
Sören Weber
99d107181c
remove google analytics & others from docs #1 2021-07-02 23:15:42 +02:00
Sören Weber
1b06d27608
pan and zoom for mermaid graphs #9 2021-07-02 23:01:38 +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
2219b54ebe
update mermaid docs #5 2021-07-02 22:05:35 +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
120fd7929e
mermaid git graph causes severe loading issues #5
this is a mermaid bug, we just remove the graph to don't
receive bug reports that should be filed in the mermaid repo
2021-07-02 21:56:00 +02:00
Sören Weber
88611e0bf0
document mermaid options #4 2021-07-02 18:15:26 +02:00
Sören Weber
3564d9ebfa
expose mermaid options in config.toml #4 2021-07-02 18:12:34 +02:00
Sören Weber
2ab6982425
Bring back mermaid code fences in docs #6 2021-07-02 17:40:05 +02:00
Sören Weber
c18a14facf
mermaid: fix official url in docs #11 2021-07-02 16:41:20 +02:00
Sören Weber
bd9983978b
Hardening examplesite against misconfiguration 2021-07-01 21:47:17 +02:00
Sören Weber
146965c497
Reworking screenshots after rebranding 2021-07-01 16:25:08 +02:00
Sören Weber
022ad07ec1
Contributers cleanup #1 2021-07-01 14:57:26 +02:00
Sören Weber
e8340249df
Docs adjustments #1 2021-07-01 14:35:27 +02:00
Sören Weber
82bdb24f72
New logo #1 2021-07-01 13:35:12 +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
500c3e5120 Credits added 2021-06-30 21:57:53 +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
Sören Weber
a938c24a63 Removed all but english documentation
to make it maintainable
2021-06-30 14:55:13 +02:00
Swen Wenzel
0b5bb6e7b3
Implement tab views (#386)
Tab views from @swenzel
2021-03-16 17:21:57 +00: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
Susan Potter
699c9fdf9f
Upgrade mermaid-js/mermaid @ 0918b97 (v8.8.0) (#443)
* Upgrade mermaid-js/mermaid @ 0918b97

* Update exampleSite with new mermaid graph (stateDiagram-v2) example

* Update content of mermaid.js with officially distributed v8.8.0 minified version
2020-09-10 17:12:32 +01:00