Commit graph

73 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
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
Alan Cha
66feffbd41 Fix typo 2020-09-10 15:14:51 +01:00
Alan Cha
41a3f928f0 Fix children shortcode table
HTML does not seem to display properly in the table
2020-09-10 15:09:35 +01:00
Alan Cha
863876230c Remove extra space 2020-09-10 15:03:43 +01:00
Alan Cha
37399cf84e Remove extra space 2020-09-10 15:03:04 +01:00
Matthew Taylor
6dea56b871 Add additional documentation for code highlighting 2020-06-01 15:08:15 +01:00
Matthew Taylor
9c080a39d8 Fix various markdown warnings 2020-06-01 14:59:19 +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
Roger Lehmann
eb0f29ee44 Updated Installation documentation link.
Since the old link redirects to "Hugo Modules" documentation, which isn't fitting for this kind of theme, I changed it to the short tutorial in the getting started guide. Not perfect but better than having a mismatching guide, confusing users (such as myself).
2020-04-14 11:10:33 +01:00
Jian
3ea5bca755 Added flag to turn off image featherlight 2020-02-01 22:58:17 +00:00
Amir
f629d2fadc add inteliver documentation showcase 2020-02-01 22:44:56 +00:00
Mathieu Cornic
f206f1fc87
Merge pull request #336 from geoffreybauduin/patch-1
Incorrect english in notice documentation
2019-12-22 21:37:56 +01:00
Mathieu Cornic
9898e35f84
Merge pull request #339 from owulveryck/patch-1
fix extra spaces in the description
2019-12-22 21:37:19 +01:00
Mathieu Cornic
073658ca3c
Merge pull request #343 from hucste/patch-2
Fix: typos
2019-12-22 21:36:49 +01:00
Mathieu Cornic
349b324d4e
Merge pull request #342 from hucste/patch-1
Fix: typo
2019-12-22 21:36:21 +01:00
Zhao Xiaojie
f616491457 Add Chinese language for this theme 2019-12-04 11:17:39 +08:00
HUC
1bc1eef887
Fix: typos
Corrections de plusieurs erreurs typo ! :p
2019-11-06 14:17:39 +00:00
HUC
aa15edd289
Fix: typo
Correction du terme "améliorations"
2019-11-06 13:52:55 +00:00
Olivier Wulveryck
cce05a0d42
fix extra spaces in the description 2019-11-02 08:20:59 +01:00
Geoffrey Bauduin
85e0b14c4e
Fixing incorrect english in notice documentation 2019-10-18 12:47:11 +02:00
Ross Jacobs
ce74bb8f9a Added Tshark.dev as example site 2019-08-27 23:59:48 +01:00
Sam Crauwels
95c78a8e12
Fix type lines 364 and 369
with code > as code
2019-06-17 01:43:58 +02:00
Boris Bera
24da9d9e1d Fix all images to use the /en/ path 2019-05-06 13:44:27 -04:00
Matthew Taylor
e7a190392a Merge branch 'master' of https://github.com/pdelaby/hugo-theme-learn into pdelaby-master 2019-03-25 21:01:40 +00:00
Delaby Pierre
6207c44b5c PR#196 : Fix english typos and hide the 'tags' div when not needed 2019-03-16 10:55:18 +01:00
ImgBotApp
26748c29e9 [ImgBot] Optimize images
*Total -- 2,545.56kb -> 1,758.74kb (30.91%)

/static/images/favicon.png -- 1.22kb -> 0.59kb (51.48%)
/exampleSite/content/basics/installation/images/chapter.png -- 85.71kb -> 46.66kb (45.56%)
/exampleSite/content/cont/pages/images/pages-chapter.png -- 243.33kb -> 152.42kb (37.36%)
/exampleSite/content/basics/style-customization/images/red-variant.png -- 380.82kb -> 239.39kb (37.14%)
/exampleSite/content/basics/style-customization/images/blue-variant.png -- 380.01kb -> 238.93kb (37.13%)
/exampleSite/content/basics/style-customization/images/green-variant.png -- 381.74kb -> 240.20kb (37.08%)
/exampleSite/content/cont/pages/images/pages-default.png -- 310.79kb -> 196.47kb (36.78%)
/exampleSite/static/images/showcase/tat.png -- 405.21kb -> 302.69kb (25.3%)
/static/images/gopher-404.jpg -- 215.36kb -> 201.42kb (6.47%)
/images/tn.png -- 141.37kb -> 139.98kb (0.99%)
2019-03-15 16:47:53 +00:00
Massimeddu Cireddu
84931c1312 Update documentation 2019-03-15 16:03:59 +00:00
Delaby Pierre
5f53dfaa15 Add documentation an theme variants 2018-11-29 09:34:55 +01:00
Matthew Taylor
fd4651dee1 Fix error in blockquote documentation 2018-11-01 20:15:46 -04:00
Matthew Taylor
64fc30ecde Add disableBreadcrumbs and disableNextPrev to English documentation 2018-10-22 22:57:19 -04:00
Mathieu Cornic
17bdacdd9f fix #179: replace github images ressource by https instead of http 2018-10-10 19:29:55 +02:00
Mathieu Cornic
7208a5bb13
Merge pull request #158 from wikijm/patch-2
Typing mistake correction
2018-09-10 23:40:14 +02:00
PGP 2F93D5AF
681de6f1fa
Typing mistake correction 2018-09-10 23:20:37 +02:00
PGP 2F93D5AF
df3683e902
Typing mistake correction 2018-09-10 18:46:09 +02:00
Mathieu Cornic
300c1614ec Merge branch 'master' of https://github.com/matcornic/hugo-theme-learn 2018-08-10 11:19:30 +02:00
Mathieu Cornic
a690228179 fix conflict 2018-08-10 11:03:31 +02:00
Mathieu Cornic
d34944e827
Merge pull request #145 from nonumeros/master
TranslationBaseName replaced for Name on archetypes template
2018-08-10 10:41:45 +02:00
Mathieu Cornic
ceed155ab0
Merge pull request #146 from tedyoung/patch-1
Clean up the English language phrasing
2018-08-10 10:41:01 +02:00
Mathieu Cornic
d7100a0c54
Merge pull request #150 from afs2015/patch-1
Updated _index.en.md for typo "names"
2018-08-10 10:20:47 +02:00
Mathieu Cornic
65d597d697 fix #153 : page not found on ex site 2018-08-10 10:18:13 +02:00
Andrew Selzer
3b13e3bbec
Updated _index.en.md for typo "names"
Sentence currently says "just drop off your image in your local `static/images/` folder and names it". This is to change it to "just drop off your image in your local `static/images/` folder and name it"
2018-07-18 14:23:16 -04:00
Ted M. Young
d091a48328
Clean up the English language phrasing
Fixed spelling and awkward phrasing to make it read better.
2018-05-27 15:40:01 -07:00
nonumeros
60dd68fc94 TranslationBaseName replaced for Name on archetypes template 2018-05-27 13:29:39 -04:00
Matthew Taylor
efbd24b9be Basic usage instructions for Font Awesome library 2018-02-19 16:33:30 +00:00
Matthew Taylor
cca7fdeeb0 Modify fontawesome selectors for v5.x 2018-02-19 16:33:30 +00:00
Mathieu Cornic
735d0f0264
Update _index.en.md 2018-01-28 10:54:02 +01:00
Mathieu Cornic
5dbc270f9b
Merge pull request #117 from mdavids/patch-6
Issue #111 for _index.fr.md
2018-01-23 18:07:54 +01:00
Marco Davids
820eab4111
Issue #111 for _index.fr.md 2018-01-22 22:40:35 +01:00