From 3df1246b0cf1c0a77729fde932d8bc247621e29d Mon Sep 17 00:00:00 2001 From: Carsten Jaksch Date: Sun, 15 Dec 2024 12:10:40 +0100 Subject: [PATCH 1/2] Update partial docs to include named slots --- content/collections/tags/partial.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/collections/tags/partial.md b/content/collections/tags/partial.md index 10cafbe7e..422949bd6 100644 --- a/content/collections/tags/partial.md +++ b/content/collections/tags/partial.md @@ -192,6 +192,8 @@ The solution is to use the partial tag as a pair. Everything inside will be pass ``` +You could also name your slots by appending `:name`. + ## Conditional Rendering You can render a partial only if a condition is met. From 7355346dcf4ec9bc5922ea5a01bd8baed930f861 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Mon, 7 Apr 2025 10:37:04 +0100 Subject: [PATCH 2/2] Update partial.md --- content/collections/tags/partial.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/collections/tags/partial.md b/content/collections/tags/partial.md index 422949bd6..0e4c48b55 100644 --- a/content/collections/tags/partial.md +++ b/content/collections/tags/partial.md @@ -192,7 +192,8 @@ The solution is to use the partial tag as a pair. Everything inside will be pass ``` -You could also name your slots by appending `:name`. +You can also name your slots using the `name` parameter. + ## Conditional Rendering