Automatically open main page inside folder
closed
Michal Kopecký
If you use site tree navigation. You have to first goes through tree to desired folder and than extra click to page. Some users found out as confusing. They expect to view page directly when opens the folder. Its possible by some configuration? Or there is optimization reason why not to open page with navigation to current folder?
Nicolas Giard
closed
As Sébastien mentionned, you need to create a page with the same name as the folder for it to act as the folder main page.
Michal Kopecký
Nicolas Giard: There is no problem to do page act as the folder main page. The problem is, that main page is not automatically open when you enter the folder.
Michal Kopecký
Sébastien Le Corre
Nicolas Giard: As Michal mentioned, although I never thought about the "one more click" needed, but that would be nice to have it loaded by default.
Don't know how to re-open the request, though.
Sébastien Le Corre
In our case, using the Git Storage, we're able to have the page associated with a folder path being displayed by default by having a page with the same name, with a ".md" added, i.e. :
* folder path : knowledge-base/some-folder
* associated page : knowledge-base/some-folder.md
And the appropriate value in the MD file header's
title
field, the name of the folder if you want it dislayed "as is" in the tree navigation :---
title: some-folder
[...]
---
But it could be that it only works for Git based storage, since we haven't tried anything else on our end.