Debian Codegraph @

tests/demo-project/templates/blog.html

raw
1 {% extends "layout.html" %}
2 {% block body %}
3 <h1>Blog</h1>
4 {% for item in this.pagination.items %}
5 <div class="blog-post">
6 <h2><a href="{{ item|url }}">{{ item.title }}</a></h2>
7 <div class="text">{{ item.body }}</div>
8 </div>
9 {% endfor %}
10 {% endblock %}