Echo Writes Code

index.tera.html

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{% extends "page.tera.html" %}

{% block title %}Repository List{% endblock %}

{% block content %}
<article>
	<h1>Repository List</h1>
	<table class="tree_list">
		<thead>
			<tr class="flex_row">
				<th scope="col" class="flex_static">Type</th>
				<th scope="col" class="flex_1">Name</th>
			</tr>
		</thead>
		<tbody>
		{% for repo in index.repositories %}
		<tr class="flex_row">
			<td class="flex_static"><span class="badge-repo">repo</span></td>
			<td class="flex_1"><a href="{{ repo.link }}">{{ repo.name }}</a></td>
		</tr>
		{% endfor %}
		</tbody>
	</table>
</article>
{% endblock %}