Location: PHPKode > scripts > Haanga > examples/inheritance/page.html
{% extends 'section.html' %}


{% block title %}Userlist | {{ block.super }} -- {{title}}{% endblock %}

{% block content %}
{% spaceless %}
<h2>Userlist</h2>
<ul>
{% for user in users %}
  <li><a href="/users/{{ user.username|urlencode|safe }}">{{ user.username|escape }}</a></li>
  
  {% if user.username != 'foobar' %}
      haha
  {% endif %}
  
{% endfor %}
</ul>

[{{ block.super }}]

{% endspaceless %}
{% endblock %}

Return current item: Haanga