From 380b1c163575a46a7ca930f9b73bb5693db09e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 17 Apr 2025 18:29:49 +0200 Subject: [PATCH] Update Current.md --- content/en/functions/templates/Current.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/functions/templates/Current.md b/content/en/functions/templates/Current.md index ea27e1056..805aeec05 100644 --- a/content/en/functions/templates/Current.md +++ b/content/en/functions/templates/Current.md @@ -29,7 +29,7 @@ Filename : (`string`) Returns the absolute path of the current template. This will be empty for embedded templates. 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 : (`tpl.CurrentTemplateInfo`) Returns an object representing the parent of the current template, if any. This may be `nil`.