Echo Writes Code

repository.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 %}Repository {{ repository.name }}{% endblock %}

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

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