mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 18:24:37 -04:00
Add .Page.File documentation
This commit is contained in:
parent
62df7bb805
commit
5cab109c2b
@ -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/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user