tenebrous-sheets/templates/index.html.tera

20 lines
441 B
Plaintext

{% extends "base" %}
{% block content %}
<div>
<h1>Hi {{user.username}}</h1>
<h3>Here are your characters:</h3>
<ul>
{% for char in characters %}
<li>
<a href="characters/{{ user.username }}/{{char.id}}">
{{ char.name }}
</a>
</li>
{% endfor %}
</ul>
<p>Try going to <a href="/hello/YourName">/hello/YourName</a></p>
</div>
{% endblock content %}