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

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -