Skip to content

Commit

Permalink
Add .Page.File documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Parisot authored and digitalcraftsman committed Nov 4, 2017
1 parent 62df7bb commit 5cab109
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/variables/page.md
Expand Up @@ -53,6 +53,9 @@ See [`.Scratch`](/functions/scratch/) for page-scoped, writable variables.
`.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`.

`.File`
: filesystem-related data for this content file. See also [File Variables][].

`.FuzzyWordCount`
: the approximate number of words in the content.

Expand Down Expand Up @@ -282,3 +285,4 @@ The top-level key will be preferred. Therefore, the following method, when appli
```

[gitinfo]: /variables/git/
[File Variables]: /variables/files/

0 comments on commit 5cab109

Please sign in to comment.