Echo Writes Code

list.tera.html

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% extends "_base.tera.html" %}

{% block title %}{{ list.name }}{% endblock %}

{% block content %}
<article>
	<h1>{{ list.name }}</h1>
	<a href="/list/{{ list.slug }}/atom.xml">Atom feed</a>
	<ul>
	{% for item in list.items %}
		<li>
			<a href="{{ item.link }}">{{ item.summary }}</a>
		</li>
	{% endfor %}
	</ul>
</article>
{% endblock %}