Echo Writes Code

repository.tera.html

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

{% block title %}Repository {{ repository.name }}{% endblock %}

{% block content %}
<article>
	<h1>Repository <code>{{ repository.name }}</code></h1>
	<ul>
		{% for file in repository.files %}
			{% if file.kind == "TextFile" %}
				<li><a href="{{ file.link }}"><code>{{ file.name }}</code></a></li>
			{% endif %}
		{% endfor %}
	</ul>
</article>
{% endblock %}