tenebrous-sheets/templates/index.html.tera

20 lines
441 B
Plaintext
Raw Normal View History

2020-12-01 21:32:16 +00:00
{% 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 %}