Skip to content

Fix typo: than in Twig => than Twig templates #4706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 29, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion best_practices/templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ languages - like `Twig`_ - were created to make templating even better.

Use Twig templating format for your templates.

Generally speaking, PHP templates are much more verbose than in Twig because
Generally speaking, PHP templates are much more verbose than Twig templates because
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say than Twig ones to avoid the repetition

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

than Twig ones 👍

they lack native support for lots of modern features needed by templates,
like inheritance, automatic escaping and named arguments for filters and
functions.
Expand Down