Rocket/examples/tera_templates/templates/index.html.tera

14 lines
293 B
Plaintext

{% extends "base" %}
{% block content %}
<h1>Hi {{name}}</h1>
<h3>Here are your items:</h3>
<ul>
{% for s in items %}
<li>{{ s }}</li>
{% endfor %}
</ul>
<p>Try going to <a href="/hello/YourName">/hello/YourName</a></p>
{% endblock content %}