oops sorry:
The django extensions are not documented well yet, but this is how they work:
template tags begin with a % and variable insertions begin with an =
shpaml:
%block content
.super-powers | are awesome
%no children means no endblock
you got that right
html output:
{% block content %}
<div class="super-powers">are awesome</div>
{% no children means no end block %}
you got that right
{% endblock %}
shpaml
.super-hero
.name |= user.username
ul.powers
%for power in powers
html output
<div class="super-hero">
<div class="name">{{ user.username }}</div>
<ul class="powers">
{% for power in powers %}
{% endfor %}
</ul>
</div>
and of course this little guy:
shpaml:
.my-div ||
html:
<div class="my-div"></div>
Hope this helps :)
James