Child pages
  • CSS, HTML, Smarty & Twig Coding Standards

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Use soft tabulations with two spaces to indent.
  • Use single quotes to surround strings.
  • Use snake case (underscores) to name your blocks.

 

Code Block
{% block my_block_name %}
   {% set foo = 'foo' %}
{% endblock %}