mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
Merge commit '89044b8f8795f17c36396c67823183a20fc88139'
This commit is contained in:
@@ -39,7 +39,6 @@ The `.File` object contains the following fields:
|
||||
.File.BaseFileName
|
||||
: the filename without extension (e.g., `foo.en`)
|
||||
|
||||
|
||||
.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 `.`.
|
||||
|
||||
@@ -49,4 +48,7 @@ The `.File` object contains the following fields:
|
||||
.File.Dir
|
||||
: given the path `content/posts/dir1/dir2/`, the relative directory path of the content file will be returned (e.g., `posts/dir1/dir2/`). Note that the path separator (`\` or `/`) could be dependent on the operating system.
|
||||
|
||||
.File.UniqueID
|
||||
: the MD5-checksum of the content file's path.
|
||||
|
||||
[Multilingual]: /content-management/multilingual/
|
||||
|
Reference in New Issue
Block a user