resources/page: Add :slugorfilename attribute

Fixes #4739, #385
This commit is contained in:
Dawid Potocki authored and Bjørn Erik Pedersen committed 2022-06-16 10:35:30 +02:00
1 parent f2cc72a1f1
commit e679f1b7e9
1 file changed
+3
+3
View File
@@ -91,6 +91,9 @@ The following is a list of values that can be used in a `permalink` definition i
`:slug` `:slug`
: the content's slug (or title if no slug is provided in the front matter) : 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` `:filename`
: the content's filename (without extension) : the content's filename (without extension)