mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 04:46:05 -04:00
Update Current.md
This commit is contained in:
parent
8b500f3e58
commit
380b1c1635
@ -29,7 +29,7 @@ Filename
|
|||||||
: (`string`) Returns the absolute path of the current template. This will be empty for embedded templates.
|
: (`string`) Returns the absolute path of the current template. This will be empty for embedded templates.
|
||||||
|
|
||||||
Name
|
Name
|
||||||
: (`string`) Returns the path of the current template, relative to the `layouts` directory.
|
: (`string`) Returns the name of the current template. This is usually the path relative to the layouts directory.
|
||||||
|
|
||||||
Parent
|
Parent
|
||||||
: (`tpl.CurrentTemplateInfo`) Returns an object representing the parent of the current template, if any. This may be `nil`.
|
: (`tpl.CurrentTemplateInfo`) Returns an object representing the parent of the current template, if any. This may be `nil`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user