Twig icon indicating copy to clipboard operation
Twig copied to clipboard

[doc][typo]templates - {% extends %} and {% block %}

Open Zakarisz opened this issue 14 years ago • 2 comments

In the documentation, tags are written like this :doc:extends<tags/extends> (without {% ... %}) But on page "Twig for Template Designers", in "Template Inheritance" section, there are a :doc:{% extends %}<tags/extends> and a :doc:{% block %}<tags/block>

Zakarisz avatar Jan 17 '12 12:01 Zakarisz

What is the problem here?

fabpot avatar Jan 18 '12 08:01 fabpot

Just a matter of consistency in the documentation and the fact that the notation {% block%} in the text would suggest that the tag is written with no parameters.

Zakarisz avatar Jan 18 '12 08:01 Zakarisz