diff options
author | Dawid Potocki <dawid@dawidpotocki.com> | 2022-06-13 15:22:58 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-06-16 11:35:30 +0300 |
commit | e679f1b7e9867f7e9f8f9042d827d0a07359eddc (patch) | |
tree | 37abcb6f220d2231460c75a5966c646da026906d | |
parent | f2cc72a1f1e1dccf3db419c3905df0ae5bb24e16 (diff) |
resources/page: Add :slugorfilename attribute
Fixes #4739, #385
-rw-r--r-- | content/en/content-management/urls.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/en/content-management/urls.md b/content/en/content-management/urls.md index f498d02ea..774bd9a58 100644 --- a/content/en/content-management/urls.md +++ b/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) |