diff options
author | Dawid Potocki <dawid@dawidpotocki.com> | 2022-06-14 00:22:58 +1200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-06-13 21:45:03 +0200 |
commit | 5a9ecb82a39886a7241ec656fc980f20c1b8dd1c (patch) | |
tree | 6f1f6a374bf2b6de5dcffd91c38790f95923f71c /docs/content | |
parent | cbc35c48d252a1b44e4c30e26cfba2ff462a1f96 (diff) |
resources/page: Add :slugorfilename attribute
Fixes #4739, #385
Diffstat (limited to 'docs/content')
-rw-r--r-- | docs/content/en/content-management/urls.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/content/en/content-management/urls.md b/docs/content/en/content-management/urls.md index f498d02ea..774bd9a58 100644 --- a/docs/content/en/content-management/urls.md +++ b/docs/content/en/content-management/urls.md @@ -91,6 +91,9 @@ The following is a list of values that can be used in a `permalink` definition i `:slug` : the content's slug (or title if no slug is provided in the front matter) +`:slugorfilename` +: the content's slug (or filename if no slug is provided in the front matter) + `:filename` : the content's filename (without extension) |