mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 00:16:45 +00:00
1 parent
d1d2406cc6
commit
357bfca431
1 file changed
+1
-1
@@ -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`)
|
||||||
|
|||||||
Reference in new issue
Block a user