docs/layouts/_default
David Karlsson 0f80eeae07 site: automatically scroll down the sidebar to reveal the current page
Some pages are nested quite deep in the sidebar, which means they aren't
automatically visible on pageload unless the sidebar is scrolled. This
commit adds a scrolldown function to the sidebar to check if the element
representing the current page is in view. If it isn't, the sidebar is
scrolled down to a position where the current page comes into view.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-10 12:28:21 +02:00
..
_markup fix: relative image references in leaf bundles 2024-10-07 12:52:16 +02:00
api-baseof.html hugo: create a common api layout 2024-09-11 12:44:34 +02:00
baseof.html site: automatically scroll down the sidebar to reveal the current page 2024-10-10 12:28:21 +02:00
cli.html hugo: refactor sidebar templates 2024-09-17 10:11:09 +02:00
glossary.html hugo: refactor sidebar templates 2024-09-17 10:11:09 +02:00
list.html hugo: refactor sidebar templates 2024-09-17 10:11:09 +02:00
search.html site: update Ask AI callout on search page 2024-09-20 18:28:28 +02:00
series.html hugo: refactor sidebar templates 2024-09-17 10:11:09 +02:00
single.html hugo: refactor sidebar templates 2024-09-17 10:11:09 +02:00
wide.html site: use filter-based nav for guides 2024-10-03 16:50:15 +02:00