Also some more information can be found here on a similar question where Paul has replied in depth.
If you want to use the theme and then use ‘inheritance’ of the template, it allows you to adapt it further without affecting if the themes get updated.
which will have pages showing you the data layout etc.
The basic information can be find in the template under the \user\templates\partials\sidebar.html.twig
But there is a a Table of Contents plugin (check the downloads → plugin and search for TOC which might be easier than recreating / dissecting the code.
After a quick looking at the theme. the code which produces the loop to go through the pages can be found here
It appears in the sidebar in the learn twig, under partials templates/partials/sidebar.html.twig
the css styling can be found in the scss or css-compiled under
I don’t know why (probably I’m missing something) but I can’t get it to work. I got the quick menu on my page, with the levels I wanted, but it is placed after the main content of that page (so, mainly useless). I got the css part working (well kinda - at least the numbering and font format and so) but not the placement.
I went trough all the recommended documentation, I looked at the examples, but no luck.
Hi @twye , ok revisited and installed the template and I think you might be wanting not learn2, where the quick menu is not as standard but Learn4 which is the current styling of the learn system, which has the quick menu.
You can get it, but it still is in development , you can download it here.
It is on a completely different css framework (spectre.css) which this and quark themes are based are.
Still need the trilbymedia toc plugin installed and activated.
Try that first. Remember this is development template so will change a bit, if you are going to customize it , make sure you do in a inherited template, rather than changing the theme, because your edit / changes will be overwritten on updates.