grav-theme-learn2 icon indicating copy to clipboard operation
grav-theme-learn2 copied to clipboard

sidebar to display current folder and children only

Open pacija opened this issue 7 years ago • 2 comments

Hi,

I'm using learn2 to publish multiple books on the same website. Homepage is on different theme. Each book is in different 1st level folder (01.home 02.book-one 03.book-two 04.book-hundred etc.)

I'd like for learn2 to display contents of current folder (book) to avoid clutter (books are accessed from homepage's portfolio section).

I know I need to modify certain loop mentioned here https://github.com/getgrav/grav-theme-learn2/issues/4#issue-103684780 but I don't know which variable to put.

Any help appreciated.

pacija avatar Mar 13 '17 00:03 pacija

@pacija Hi, have you figured it out? I have a similar setup, and would like to be able to show the menu from a certain level only.

dbfin avatar May 09 '18 01:05 dbfin

+1

nicutor avatar May 02 '22 23:05 nicutor