Skip to content

Instantly share code, notes, and snippets.

@mitom
Created January 8, 2014 16:47
Show Gist options
  • Save mitom/8319933 to your computer and use it in GitHub Desktop.
Save mitom/8319933 to your computer and use it in GitHub Desktop.
{% block myBlock %}
blaaa
{% endblock %}
{% body %}
{% if app.debug %}
{{ block('myBlock') }}
{% else %}
{% spaceless %}
{{ block('myBlock') }}
{% endspaceless %}
{% endif %}
{% endblock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment