Remove files.Extension (duplicate of files.Ext)

This commit is contained in:
Bjørn Erik Pedersen
2022-01-05 11:27:28 +01:00
committed by GitHub
parent 948d6d69d9
commit f33994fe65
+1 -1
View File
@@ -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`)