Commit graph

70 commits

Author SHA1 Message Date
Sören Weber
f5455500fa
theme: animate large areas on theme switch #178 2022-02-13 09:45:11 +01:00
Sören Weber
ec053c7c5e
theme: set theme selector correctly on load #178 2022-02-13 02:30:05 +01:00
Sören Weber
8c1a7304f9
theme: add a theme selector #178 2022-02-13 01:53:23 +01:00
Sören Weber
a32646b5cb
menu: rework select box UX #177 2022-02-12 23:49:33 +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
9c616364a9
theme: realign HTML header and DRY out stylesheet declarations 2022-02-06 13:51:54 +01:00
Sören Weber
dd7e308a4d
menu - hidden sibling pages are sometimes not visible #152
put every meta data of a page into the its corresponding scratch
2021-11-15 23:41:51 +01:00
Sören Weber
48b0a66d40
search: don't break JS in multilang setup if search is disabled #140 2021-11-04 19:26:30 +01:00
Sören Weber
a25243d7e7
menu: remove usage of Hugos UniqueID #131 2021-10-31 11:16:55 +01: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
293c2eab8e
menu: write correct local shortcut links #112 2021-10-08 18:14:10 +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
f35e2336aa
hidden pages: streamlined pages collection #102 2021-09-27 21:06:00 +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
94fceae42d
theme: fix usage of <h3> in menu #88 2021-09-13 19:28:17 +02:00
Sören Weber
2fcaac5d0b
theme: fix usage of <section> #88 2021-09-13 19:28:16 +02:00
Sören Weber
1ad20bd8b2
theme: further wildspace
menu and search
2021-09-13 19:27:40 +02:00
Sören Weber
7fce3b516f
theme: wildspace 2021-09-12 10:33:24 +02:00
Sören Weber
aa54732f09
theme: wildspace
in partials and generated output
2021-09-12 00:40:03 +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
c5382e0bcc
theme: fix showVisitedLinks in case Hugo is configured to modify relative URLs #86 2021-09-09 21:03:37 +02:00
Sören Weber
c969f3b13f
menu: always hide hidden sub pages #77 2021-09-04 00:17:47 +02:00
Sören Weber
c2731993b8
menu: renaming var to streamline with other code #60 2021-08-26 23:28:50 +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
c81bf82ced
menu: allow empty ul
This simplyfies code, as of now it is only necessary to tag the ul with
classes and let the CSS do all the heavy lifting.

Care was taken, to not mess up layout when a ul ends up with all
its li hidden.
2021-08-26 22:19:52 +02:00
Sören Weber
d04bbaad4e
theme: treat pages without title as hidden #59 2021-08-26 12:42:20 +02:00
Helder Pereira
6efb50a010 Add menu-pre and menu-post templates 2021-08-25 13:54:52 +01:00
Sören Weber
a69236d160
menu: control sub-menu expansion #49 2021-08-25 00:10:09 +02:00
Sören Weber
2fcc3979b4
wildspace 2021-08-24 20:57:33 +02:00
Helder Pereira
757d2f06dc Fix home link when base URL has some path 2021-08-23 23:48:41 +01:00
Alekos Filini
d7a4481ff2
Don't count hidden pages for the sub-menus (#470) 2021-03-16 17:29:22 +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
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