Commit graph

85 commits

Author SHA1 Message Date
Sören Weber
f65a4b819e
menu: hide expander when only hidden subpages #264 2022-06-06 21:37:14 +02:00
Sören Weber
e88b9ecebb
theme: make compatible with Hugo 0.100.0 #263 2022-06-06 21:11:44 +02:00
Sören Weber
48c7d6bc73
menu : expand/collapse menu items without navigation #231 2022-04-03 12:12:12 +02:00
Sören Weber
0dd92e332b
print: add option to print whole chapter #230 2022-04-02 15:29:34 +02:00
Sören Weber
985eacea7e
theme: some restructuring 2022-03-07 17:24:23 +01:00
Sören Weber
ea8b527f25
mobile: fix navigation UX #209 #210 2022-02-28 01:19:32 +01:00
Sören Weber
a845d40071
menu: fix footer in IE11 #177 2022-02-22 10:32:52 +01:00
Sören Weber
78abe914e0
variant: allow page browsing with custom theme #188 2022-02-21 23:11:04 +01:00
Sören Weber
269ccf7eea
variant: renamr var #188 2022-02-21 00:01:23 +01:00
Sören Weber
442a4f4832
variant: move scripts to own file #188 2022-02-20 23:58:16 +01:00
Sören Weber
3d6a95434c
nav: only show toc if the page has headings #182 2022-02-15 20:28:29 +01:00
Sören Weber
a48a7f540b
menu: fix scrollbar height #180 2022-02-14 20:34:18 +01:00
Sören Weber
d0d359bc3d
theme: float clearing for select boxes #178 2022-02-14 19:46:10 +01:00
Sören Weber
0c261fb314
theme: fix alignment of menu select boxes #178 2022-02-13 10:58:00 +01:00
Sören Weber
b1bb8e2290
theme: capitalize theme name in option for FF #178 2022-02-13 10:06:16 +01:00
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