mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-18 14:16:50 -05:00
5fd1e74903
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
18 lines
495 B
Markdown
18 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
|