summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDawid Potocki <dawid@dawidpotocki.com>2022-06-14 00:22:58 +1200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-06-13 21:45:03 +0200
commit5a9ecb82a39886a7241ec656fc980f20c1b8dd1c (patch)
tree6f1f6a374bf2b6de5dcffd91c38790f95923f71c /docs
parentcbc35c48d252a1b44e4c30e26cfba2ff462a1f96 (diff)
resources/page: Add :slugorfilename attribute
Fixes #4739, #385
Diffstat (limited to 'docs')
-rw-r--r--docs/content/en/content-management/urls.md3
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)