From 5f41c416f562db7062f4af56e38226b4a011a66b Mon Sep 17 00:00:00 2001 From: Arnaud Ligny Date: Sun, 12 Nov 2023 23:43:26 +0100 Subject: [PATCH] Update 3-Templates.md --- docs/3-Templates.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/3-Templates.md b/docs/3-Templates.md index 114c2a896..01e2d692a 100644 --- a/docs/3-Templates.md +++ b/docs/3-Templates.md @@ -58,11 +58,12 @@ layouts/(
/)|.(.).twig _Examples:_ ```plaintext -layouts/home.html.twig # home page (`type` is "home") -layouts/my-layout.html.twig # custom layout (`layout` is "my-layout") -layouts/page.html.fr.twig # page in french (`language` is "fr") -layouts/blog/list.html.twig # blog posts list (`section` is "blog") -layouts/blog/list.rss.twig # blog RSS feed (`format` is "rss") +layouts/home.html.twig # `type` is "homepage" +layouts/page.html.twig # `type` is "page" +layouts/page.html.fr.twig # `type` is "page" and `language` is "fr" +layouts/my-layout.html.twig # `layout` is "my-layout" +layouts/blog/list.html.twig # `section` is "blog" +layouts/blog/list.rss.twig # `section` is "blog" and `format` is "rss" ``` ```plaintext