From a68c77f0e94aa41334fd67751fbfc2dbc5230126 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Wed, 14 Feb 2018 04:24:25 +0100 Subject: Add documentation for new configuration options --- Configuration.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Configuration.md b/Configuration.md index 076385c..dc9eafa 100644 --- a/Configuration.md +++ b/Configuration.md @@ -66,6 +66,13 @@ Enable or disable the use of slug URLs for item permalinks. If disabled, the uni * `POST.SLUG_URLS`: [boolean: `TRUE`|`FALSE`] * `USER.SLUG_URLS`: [boolean: `TRUE`|`FALSE`] +## Single redirects +Enable or disable the redirection from the overviews to the items main page if only one item of the specific type exists. For example, if you only have one user and `USER.SINGLE_REDIRECT` is set to `TRUE`, then requests to `/user/` will be automatically redirected to `/user/username/`. + +* `PAGE.SINGLE_REDIRECT`: [boolean: `TRUE`|`FALSE`] +* `POST.SINGLE_REDIRECT`: [boolean: `TRUE`|`FALSE`] +* `USER.SINGLE_REDIRECT`: [boolean: `TRUE`|`FALSE`] + ## Directories Item base directories relative to your base directory where the application is installed. -- cgit v1.2.3