Skip to content

Commit

Permalink
Remove files.Extension (duplicate of files.Ext)
Browse files Browse the repository at this point in the history
  • Loading branch information
bep authored Jan 5, 2022
1 parent 948d6d6 commit f33994f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/variables/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The `.File` object contains the following fields:
: the filename without extension (e.g., `foo.en`)

.File.Ext
: the file extension of the content file (e.g., `md`); this can also be called using `.File.Extension` as well. Note that it is *only* the extension without `.`.
: the file extension of the content file (e.g., `md`).

.File.Lang
: the language associated with the given file if Hugo's [Multilingual features][multilingual] are enabled (e.g., `en`)
Expand Down

0 comments on commit f33994f

Please sign in to comment.