samvera / samvera.github.io

Public website for version controlled Samvera documentation (mostly Hyrax)
http://samvera.github.io
Apache License 2.0
7 stars 17 forks source link

Implement active css class for explicitly coded sidebar folder #349

Closed jmfrenzel closed 5 years ago

jmfrenzel commented 5 years ago

Descriptive summary of request

The layout of the sidebar highlights active folders via <li class=active ... < /li>. This should be added when sidebar entries are being coded explicitly into _includes/sidebar.html.

Existing

Explicitly coded entries in the sidebar are not wrapped within <li class=active ... < /li>.

This PR

Explicitly codes entries in the sidebar are wrapped within <li class=active ... < /li> which implements the same highlighting when that folder is active.

Related work

closes #348