mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-11 16:55:50 -04:00
Remove files.Extension (duplicate of files.Ext)
This commit is contained in:
parent
948d6d69d9
commit
f33994fe65
@ -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`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user