{% extends "base.htm" %}
-{% block title %}{{description}}{% endblock %}
+{% block title %}
+ {%if repo.getDescription %}
+ {{repo.getDescription}}
+ {%else%}
+ {{repo.id}}
+ {%endif%}
+{% endblock %}
{% block content %}
-<h1>{{description}}</h1>
-<p><a href="{{links.edit}}">edit</a></p>
-{% for file in files %}
-<div>
- <h2>{{file.filename}}</h2>
- <p>
- <a href="{{file.raw}}">raw</a>
- </p>
- <pre>{{file.content}}</pre>
-</div>
+ {% include 'display-head.htm' %}
+
+{% for file in repo.getFiles %}
+ {% include 'display-file.htm' %}
{% endfor %}
+
+ {% include 'display-foot.htm' %}
+{% endblock %}
+
+{% block sidebar %}
+sidebar FIXME
{% endblock %}