diff --git a/README.md b/README.md index 13f612a..a7617ed 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ Then build the following set of templates: {% block content %} {{ assets.append('/js/page-header.js') }} - {% if foo is not defined %} + {% if foo is defined %} {{ include("subpage1.html.twig") }} {% else %} {{ include("subpage2.html.twig") }} @@ -103,7 +103,7 @@ The resulting html will be the following: - +