We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71b3d30 + c732edf commit 7ae3cb6Copy full SHA for 7ae3cb6
templates.rst
@@ -118,8 +118,8 @@ Template Naming
118
119
Symfony recommends the following for template names:
120
121
-* Use `snake case`_ for filenames and directories (e.g. ``blog_posts.twig``,
122
- ``admin/default_theme/blog/index.twig``, etc.);
+* Use `snake case`_ for filenames and directories (e.g. ``blog_posts.html.twig``,
+ ``admin/default_theme/blog/index.html.twig``, etc.);
123
* Define two extensions for filenames (e.g. ``index.html.twig`` or
124
``blog_posts.xml.twig``) being the first extension (``html``, ``xml``, etc.)
125
the final format that the template will generate.
0 commit comments