mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 02:16:09 +00:00
Add .Page.File documentation
This commit is contained in:
1 parent
62df7bb805
commit
5cab109c2b
1 file changed
+4
@@ -53,6 +53,9 @@ See [`.Scratch`](/functions/scratch/) for page-scoped, writable variables.
|
|||||||
`.ExpiryDate`
|
`.ExpiryDate`
|
||||||
: the date on which the content is scheduled to expire; `.ExpiryDate` pulls from the `expirydate` field in a content's front matter. See also `.PublishDate`, `.Date`, and `.Lastmod`.
|
: the date on which the content is scheduled to expire; `.ExpiryDate` pulls from the `expirydate` field in a content's front matter. See also `.PublishDate`, `.Date`, and `.Lastmod`.
|
||||||
|
|
||||||
|
`.File`
|
||||||
|
: filesystem-related data for this content file. See also [File Variables][].
|
||||||
|
|
||||||
`.FuzzyWordCount`
|
`.FuzzyWordCount`
|
||||||
: the approximate number of words in the content.
|
: the approximate number of words in the content.
|
||||||
|
|
||||||
@@ -282,3 +285,4 @@ The top-level key will be preferred. Therefore, the following method, when appli
|
|||||||
```
|
```
|
||||||
|
|
||||||
[gitinfo]: /variables/git/
|
[gitinfo]: /variables/git/
|
||||||
|
[File Variables]: /variables/files/
|
||||||
Reference in new issue
Block a user