Commit graph

139 commits

Author SHA1 Message Date
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
Qi Wenmin
ca0872ecb5 Fix: can't give argument to non-function not .Params.hidden
Build fail when using Hugo 0.71.1.
2020-06-01 12:45:19 +01:00
Helder Pereira
f7847b6a3a Fix .File.UniqueID on zero object warning 2020-03-09 15:25:50 +00:00
Rasmus Stougaard
46223816d6 Avoid displaying hidden sections in menu 2020-02-01 23:06:35 +00:00
James Booker
b304bb47f6 Fix shortcuts menu 2019-07-30 21:46:35 +01:00
James Booker
eb0ad9c489 Fix deprecated .Hugo, .UniqueID and .URL references 2019-07-30 21:46:35 +01:00
Pierre Adam
2dbd46d4ec Fix translation when using a custom baseURL
When the baseURL is not / using $translation.URL is ignoring the baseURL. In order to sort this behavior, $translation.Permalink is working just fine.
2019-03-15 16:15:57 +00:00
David Pine
e10b558f34
Update menu.html to include the check icon
I'm seeing issues where the check icon is not rendered. It seems like it this `<i></i>` element was mistakenly missing the additional class required in order for it to actually render the font-awesome check icon. So, I added the `fa-check` class locally and now it works as expected.
2019-01-21 12:55:01 -06:00
Matthew Taylor
cca7fdeeb0 Modify fontawesome selectors for v5.x 2018-02-19 16:33:30 +00:00
Marco Davids
42dbe096d2
role="" is invalid
Removing class="" because it does not add a whole lot
Removing role="" because it is invalid HTML (cannot be empty) and generates HTML-errors in validators.
2018-01-24 15:29:57 +01:00
Gennady Pospelov
12cab1bed6 Fix for random failures in menu generation 2018-01-17 17:52:56 +01:00
Manuel Reithuber
d335f88af4 menu.html: added support for a 'menuTitle' frontmatter parameter 2017-11-19 13:55:30 +01:00
Manuel Reithuber
1a3ca9010d layouts/partial/menu.html: using the 'linkTitle' attribute as link text (if present) 2017-11-19 13:32:31 +01:00
matcornic
a64a454421 Handling multilingual mode on extra menu shortcuts 2017-08-20 23:43:49 +02:00
matcornic
52e897dcb9 changed defaults + scroll with offset 2017-08-20 23:43:49 +02:00
matcornic
554480d4e0 add wercker to compare with travis 2017-08-20 23:43:48 +02:00
matcornic
7ca4b0c7ad feat: add theme variant system + add blue variant 2017-08-20 23:43:48 +02:00
matcornic
eb60debba2 feat: add 'more' section in left menu 2017-08-20 23:43:47 +02:00
matcornic
47c72cb81e feat: better UX in the menu 2017-08-20 23:43:46 +02:00
matcornic
157e3ac512 feat: add full i18n. Select desired language in the site automatically 2017-08-20 23:43:46 +02:00
matcornic
b2ac8298bf feat: support of Hugo 0.22+ #51 #48 #11 #50 2017-08-20 23:43:44 +02:00
Nikolay Yakimov
7aa1e70638
Fixes, see description
* fix menu ordering when mixing chapters and non-chapters
* allow for `chapter` type override in `_index` pages
* fix breadcrumbs
* fix some crashes with empty categories
* use page context in list.html (to avoid setting uniqueid in scratch)
* use UniqueID instead of relative links for page identification
2017-03-27 22:57:49 +03:00
Nikolay Yakimov
9144ca72aa
Fixed "error calling after: no items left" 2017-03-26 05:06:15 +03:00
Nikolay Yakimov
79107d2e75
Backwards compatibility 2017-03-14 02:10:33 +03:00
Nikolay Yakimov
23e40c6b5b
Use index pages 2017-03-14 01:07:40 +03:00
Daniel Åvall
61c41bf3b9 Extracted menu footer content to separate partial file, for easy override 2017-02-27 15:01:50 +01:00
Leclerc Gwendal
4218d1a27d feat: extract search out of header + use baseurl to search json index + add a step to explain how to use lunr-hugo + update perfect-scrollbar 2016-10-25 20:26:19 +02:00
Leclerc Gwendal
c645b07402 feat: add search support 2016-10-25 20:26:19 +02:00
Kamil Chmielewski
58a9e07c57 Menu ordering and definition in config.toml (#8) 2016-10-14 09:30:59 +02:00
Mathieu Cornic
00d849ce1f Revert "Menu generation using Content file instead directories" (#10) 2016-10-02 18:22:32 +02:00
Xipas
64012f31af Added menu generation from defenition on content.md files, selectable using params .createFromSiteMenusMain on toml file. (#5)
Fixes #2
2016-10-02 18:12:30 +02:00
Andre Sousa
2adc47aa6f Fix - Wrong context value 2016-05-24 16:23:11 +01:00
Andre Sousa
b644aa817b add an optional boolean showVisitedLinks parameter 2016-05-24 15:08:53 +01:00
Andre Sousa
079e2a0400 Add Checkmark On visited Links 2016-05-23 21:18:57 +01:00
Leclerc Gwendal
6686e925c0 feat: replacing jquery.scrollbar by perfect-scrollbar 2016-03-25 11:53:03 +01:00
Cornic Mathieu
fb77b7e737 feat(menu): no ul new line when item active with no child ; feat(fork): fork icon instead of github 2016-03-21 16:58:15 +01:00
Mathieu Cornic
4683d790f6 clean 2016-03-18 18:32:57 +01:00
Mathieu Cornic
2b88eae74b feat: implemented functionnalities on Markdown images: 1. featherlight for full size view in popup 2. Height/Width customizables 3. Possibility to add css classes 2016-03-17 17:48:18 +01:00
Mathieu Cornic
9246996907 feat: init commit with basic functionnalities 2016-03-17 12:01:39 +01:00