Files
flask-practice/app/templates/home.html
2025-09-18 16:59:30 -05:00

26 lines
515 B
HTML

{% 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 %}