Document .File.ContentBaseName

This commit is contained in:
Bjørn Erik Pedersen 2018-11-29 21:14:50 +01:00 committed by GitHub
parent 6d30c5aa1f
commit 0305e3c6b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,9 +33,13 @@ The `.File` object contains the following fields:
.File.TranslationBaseName .File.TranslationBaseName
: the filename without extension or optional language identifier (e.g., `foo`) : the filename without extension or optional language identifier (e.g., `foo`)
.File.ContentBaseName
: is a either TranslationBaseName or name of containing folder if file is a leaf bundle.
.File.BaseFileName .File.BaseFileName
: the filename without extension (e.g., `foo.en`) : the filename without extension (e.g., `foo.en`)
.File.Ext .File.Ext
: the file extension of the content file (e.g., `md`); this can also be called using `.File.Extension` as well. Note that it is *only* the extension without `.`. : the file extension of the content file (e.g., `md`); this can also be called using `.File.Extension` as well. Note that it is *only* the extension without `.`.