Commit graph

60 commits

Author SHA1 Message Date
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
Matthew Taylor
d4abb3c9a1 Allow custom css files to be loaded by configuration
Previously adding custom css files would require the end user to copy
the header or footer partial into their overrides. They would then
need to maintain that partial into the future.

This config allows a user to provide a list of custom css files to load
into the theme, meaning they do not need to clone the partial.

```
[params]
  custom_css = ["css/foo.css", "css/bar.css"]
```

Inspiration taken from https://discourse.gohugo.io/t/how-to-override-css-classes-with-hugo/3033/4
2020-04-14 11:12:06 +01:00
Matthew Taylor
64fc30ecde Add disableBreadcrumbs and disableNextPrev to English documentation 2018-10-22 22:57:19 -04:00
Mathieu Cornic
735d0f0264
Update _index.en.md 2018-01-28 10:54:02 +01:00
matcornic
f2c44bc93e chore: fix spelling mistake 2017-09-04 19:14:13 +02:00
matcornic
5123fb57a2 fix #62: replaced width in % with 'pc' 2017-09-04 19:07:03 +02:00
matcornic
5608a87d71 Translate in french 2017-08-20 23:44:34 +02:00
matcornic
aff3307ff5 add english documentation content 2017-08-20 23:43:50 +02:00
matcornic
6b265c5181 add first content for new documentation 2017-08-20 23:43:49 +02:00