Commit Graph

22 Commits

Author SHA1 Message Date
Alex Shpak
1852b16d93 #440L Adjust bookHref, check .Content again, add redirect 2022-04-26 13:14:22 +02:00
Horea Christian
c2014a08a5
Add BookHref, set explicit URL for the menu (#440) 2022-04-26 13:10:39 +02:00
Giuseppe Masino
98d19b8e95
Make menu entries' link relative (#421)
This change allows hugo to build pages correcly when
`canonifyURLs = false` and `relativeURLs = true`.
Otherwise the links on the menu will be canonicalized regardless of
configuration.
This results in broken sites in a number of situations, such as sites
served behind a reverse-proxy that don't want to account for the prefix
they're served under.
2022-02-18 17:35:02 +01:00
Alex Shpak
553d378db3 Fix lighthouse remarks: icon sizes, noopener 2021-05-20 19:00:15 +02:00
Pim Snel
e0823c2138
collapsed menu right arrow, uncollapsed down arrow (#332) 2021-05-03 21:18:49 +02:00
Alex Shpak
5cc3d6719c #231, Allow open collapsed menu without changing page 2020-09-14 22:45:58 +02:00
Alex Shpak
2b430b0b41 #212, Fix use of IsAncestor after hugo breaking change 2020-04-28 22:00:24 +02:00
Alex Shpak
94c8230e1e #197, Use RelPermalink to identify nested pages in collapsed menu 2020-04-14 22:56:31 +02:00
Alex Shpak
15339ab6a6 #157, Refactor side menu, simpler and renders all pages at root 2020-04-11 14:35:29 +02:00
Alex Shpak
a9867292af Fix current page highlight in new Hugo version 2020-03-30 18:00:15 +02:00
Alex Shpak
9c8663eb34 #155, Do not show collapse indicator in non-section pages 2020-03-01 00:49:34 +01:00
Alex Shpak
6ecc94ed2b #155, Add expand indicator in collapsed section 2020-02-29 21:15:52 +01:00
Alex Shpak
05c3b8fac9 Add language switch at bottom of page 2019-11-16 20:35:23 +01:00
Alex Shpak
e2188136e1 #51, Add experimental bookCollapseSection page param to hide nested sections 2019-10-09 01:00:40 +02:00
Paul Twohey
7d0ee68c3b Fixes #69 Make file based menus behave as expected
- Fixes #69
- Section headings are listed once
- Sections and normal pages sort with the same weights amongst themselves
2019-09-04 16:09:55 +02:00
Alex Shpak
dda0a0eab1 Start work on search feature with lunr 2019-08-06 11:33:42 +02:00
Alex Shpak
e452a7beda #52, Allow to set max showed levels of ToC. e.g. BookToC=3 2019-05-27 16:48:23 +02:00
Alex Shpak
ffd5e272a8 #43, Add bookHidden page param to hide page from side menu 2019-04-30 22:16:02 +02:00
Alex Shpak
0b30289d9f #43, Update tree menu rendering to support multiple sections 2019-04-22 19:17:39 +02:00
Alex Shpak
5b4dec6db9 Fix menu paddings, add additional space for big screens 2018-10-08 20:56:06 +02:00
Alex Shpak
78bd5938a3 Improve sass styles 2018-09-28 01:12:07 +02:00
Alex Shpak
cce17bcc99 Remove purecss dependency and replace with flexbox 2018-09-26 00:12:56 +02:00