From 52c37be258a197cb181af2c97460ea6620c8687a Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sun, 19 Sep 2021 12:31:30 +0200 Subject: Update documentation --- Configuration.md | 4 ++-- Content functions.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Configuration.md b/Configuration.md index 1072d63..b019041 100644 --- a/Configuration.md +++ b/Configuration.md @@ -88,8 +88,8 @@ Enable or disable the use of slug URLs for item permalinks. If disabled, the uni * `POST.SLUG_URLS`: [bool: `TRUE`|`FALSE`] * `USER.SLUG_URLS`: [bool: `TRUE`|`FALSE`] -## Single redirects -Enable or disable the redirection from the overviews to the items primary page if only one item of the specific type exists. For example, if you only have one user and `USER.REDIRECT_SINGLE` is set to `TRUE`, requests to `/user/` will be automatically redirected to `/user/username/` (or `/user/id/`). +## Redirect single items +Enable or disable the redirection from the overviews to the items primary page if only one item of the specific type exists. For example, if you only have one user and `USER.REDIRECT_SINGLE` is set to `TRUE`, requests to `/user/` will be automatically `302`-redirected to `/user/username/` (or `/user/id/`). * `CATEGORY.REDIRECT_SINGLE`: [bool: `TRUE`|`FALSE`] * `PAGE.REDIRECT_SINGLE`: [bool: `TRUE`|`FALSE`] diff --git a/Content functions.md b/Content functions.md index 667a196..ad144c9 100644 --- a/Content functions.md +++ b/Content functions.md @@ -17,7 +17,7 @@ The table below contains all default *content functions* you can use. | `USER` | Return Markdown formatted link to **user**. | `id`, `?text`, `?title` | ## Syntax -The name of the *content function* and its parameters is put between an opening (`{`) and closing (`}`) curly brace. An optional blank space (` `) is permitted between the opening and closing curly braces (but not necessary). +The name of the *content function* and its parameters is put between an opening (`{`) and closing (`}`) curly brace. An optional blank space (` `) is permitted (but not required) between the opening and closing curly braces. After the opening curly brace (and the optional blank space), the name of the *content function* (in uppercase letters) is followed directly after. If the *content function* shall be called without any parameters, the function name is followed by the optional space (mentioned above) and directly after by the closing curly brace. -- cgit v1.2.3