hugo/docs/content/en/variables/file.md
Bjørn Erik Pedersen 5fd1e74903
Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs'
```
git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash
```

Closes #11925
2024-01-27 10:48:57 +01:00

19 lines
495 B
Markdown

---
title: File variables
description: Retrieve file information about any page that is backed by a file.
categories: [variables]
keywords: []
menu:
docs:
parent: variables
weight: 20
weight: 20
aliases: [/variables/file-variables/,/variables/files/]
---
{{% include "variables/_common/consistent-terminology.md" %}}
To retrieve file information about any page that is backed by a file, see the documentation for the [`File`] method on a `Page` object.
[`File`]: /methods/page/file