{% extends "base.html" %}

{% block content %}
{# If there is username display it otherwise stay generic #}
{% if username %}
<h1>Item List for {{username}}</h1>
{% else %}
<h1>Item List</h1>
{% endif %}
<ul>
    {% for item in items %}
    <li><strong>{{ item.name }}</strong>: {{ item.description }}</li>
    {% endfor %}
</ul>
<ul>
    {% for thing in testList %}
    <li>{{ thing }}</li>
    {% endfor %}
</ul>

{% endblock %}

{% block moreContent%}
    <h2>This is a test for more content</h2>
{% endblock %}
