From c88c4015d9be95f388f20b52f61e0c17d5de9067 Mon Sep 17 00:00:00 2001 From: Michael Pollind Date: Mon, 5 May 2025 06:55:55 -0700 Subject: [PATCH] Update book/src/template_syntax.md Co-authored-by: Guillaume Gomez --- book/src/template_syntax.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/book/src/template_syntax.md b/book/src/template_syntax.md index 60563dd1..a989fe17 100644 --- a/book/src/template_syntax.md +++ b/book/src/template_syntax.md @@ -921,9 +921,7 @@ Then if you don't pass a value for this argument, its default value will be used ### Call -you can specify a block for a call to be passed down as used as apart of a macro. For this case -a block is denoted by `{% call(args) macro() %}`, ending with `{% endcall %}`. the callee is denoted by -`{{caller()}}`. +You can use the content in the call block directly inside the macro by using `{{ caller() }}`: ```jinja {% macro render_dialog(title, class='dialog') -%}