From d8749e33dd56bbaf2bfd4efe0f74c538ac963618 Mon Sep 17 00:00:00 2001 From: David K Date: Thu, 23 Feb 2023 14:58:02 +0100 Subject: [PATCH] replaced wrong heading and added one replaced Bad with a wrong Good title and added an additional Good one --- .../3_templating/0_php-templates/cookbook-recipe.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/docs/2_cookbook/3_templating/0_php-templates/cookbook-recipe.txt b/content/docs/2_cookbook/3_templating/0_php-templates/cookbook-recipe.txt index bc08fb8e58..dee0e1889f 100644 --- a/content/docs/2_cookbook/3_templating/0_php-templates/cookbook-recipe.txt +++ b/content/docs/2_cookbook/3_templating/0_php-templates/cookbook-recipe.txt @@ -283,7 +283,7 @@ Working with absolute URLs in templates is a nightmare. That's why Kirby has the In many situations you don't have to write a full if clause in your templates. There are shorter versions, which you should know about: -#### Good +#### Bad ```php hasChildren()): ?> Yay, children! @@ -292,6 +292,7 @@ No children ``` +#### Good ```php hasChildren() ? 'Yay, children!' : 'No children' ?> ```