Echo Writes Code

tree.tera.html

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

{% block title %}Tree {{ tree.path }}{% endblock %}

{% block content %}
<article>
	<h1>Tree {{ tree.path }}</h1>
	<ul>
		{% for t in tree.trees %}
		<li><span class="badge color1">tree</span><a href="{{ t.link }}">{{ t.name }}</a></li>
		{% endfor %}

		{% for b in tree.blobs %}
		<li><span class="badge color7">blob</span><a href="{{ b.link }}">{{ b.name }}</a></li>
		{% endfor %}
	</ul>
</article>
{% endblock %}