diff --git a/content/en/variables/files.md b/content/en/variables/files.md index eb5d404de..51cd54756 100644 --- a/content/en/variables/files.md +++ b/content/en/variables/files.md @@ -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/ diff --git a/content/en/variables/page.md b/content/en/variables/page.md index c426ca47c..93e9c3ea0 100644 --- a/content/en/variables/page.md +++ b/content/en/variables/page.md @@ -179,8 +179,8 @@ http://remarkjs.com) .Type : the [content type](/content-management/types/) of the content (e.g., `posts`). -.UniqueID -: the MD5-checksum of the content file's path. +.UniqueID (deprecated) +: the MD5-checksum of the content file's path. This variable is deprecated and will be removed, use `.File.UniqueID` instead. .Weight : assigned weight (in the front matter) to this content, used in sorting.