twig - Difference between {% block javascripts %} and {% javascripts %} in Symfony -


i started using twig instead of php templates , i've seen people use

{% block javascripts %} {% endblock %} 

and sometimes

{% javascripts %} {% endjavascripts %} 

are these 2 equivalent? 1 should use?

{% javascripts %} {% endjavascripts %} 

is related assetic library

{% block javascripts %} {% endblock %} 

is random block named javascripts

more here :

http://symfony.com/doc/current/cookbook/assetic/asset_management.html


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -