mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 15:54:38 -04:00
parent
d1d2406cc6
commit
357bfca431
@ -25,7 +25,7 @@ For information on creating shortcodes and templates that tap into Hugo's file-r
|
|||||||
The `.File` object contains the following fields:
|
The `.File` object contains the following fields:
|
||||||
|
|
||||||
.File.Path
|
.File.Path
|
||||||
: the original relative path of the page (e.g., `content/posts/foo.en.md`)
|
: the original relative path of the page, relative to the content dir (e.g., `posts/foo.en.md`)
|
||||||
|
|
||||||
.File.LogicalName
|
.File.LogicalName
|
||||||
: the name of the content file that represents a page (e.g., `foo.en.md`)
|
: the name of the content file that represents a page (e.g., `foo.en.md`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user