Update Current.md

This commit is contained in:
Bjørn Erik Pedersen 2025-04-17 18:29:49 +02:00 committed by GitHub
parent 8b500f3e58
commit 380b1c1635
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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`.