From 583006e5417a40ced719e2ea6f17b19d5538449a Mon Sep 17 00:00:00 2001 From: Boris Mann Date: Wed, 8 Aug 2018 10:25:33 -0700 Subject: [PATCH] Document folder landing pages and /all command I couldn't find documentation for this and made a feature request because I was confused -- https://requests.requarks.io/wiki/p/directoryhome-should-act-as-index This documents how this works. --- wiki/user-guide/creating-folder-landing-pages.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 wiki/user-guide/creating-folder-landing-pages.md diff --git a/wiki/user-guide/creating-folder-landing-pages.md b/wiki/user-guide/creating-folder-landing-pages.md new file mode 100644 index 0000000..0e935b3 --- /dev/null +++ b/wiki/user-guide/creating-folder-landing-pages.md @@ -0,0 +1,9 @@ + + +When you visit _yoursite.com/path/to/folder_ and the folder exists, but there is no file ```folder.md```, then you will be prompted to create it. Then, when you visit _yoursite.com/path/to/folder_, ```folder.md``` will be served up as the home page. + +Note: the root of _yoursite.com_ serves up ```home.md``` as the front page of your site. + +## Listing all pages inside a folder + +The special path _yoursite.com/path/to/folder/all_ will display a list of all the pages inside a folder -- just like the top level "All Pages" link in the sidebar.