summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-09-19 12:31:30 +0200
committerThomas Lange <code@nerdmind.de>2021-09-19 12:31:30 +0200
commit52c37be258a197cb181af2c97460ea6620c8687a (patch)
tree77f0cb038e35556ba441e7c54db082627d29c999
parent70af4d8dbfd6cbd9d7bbf4e44a7583ce9165c0b6 (diff)
downloadwiki-52c37be258a197cb181af2c97460ea6620c8687a.tar.gz
wiki-52c37be258a197cb181af2c97460ea6620c8687a.tar.xz
wiki-52c37be258a197cb181af2c97460ea6620c8687a.zip
Update documentation
-rw-r--r--Configuration.md4
-rw-r--r--Content functions.md2
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.