Abbaye

at 2f4eb91

<!doctype html>
<html lang="{{ lang | default(value='en') }}">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>{{ project_name }} — {{ dir_path | default(value="~") }}</title>
    <link rel="stylesheet" href="{{ root_path }}static/site.css" />
</head>
<body>
    <header>
        <a href="{{ root_path }}" class="site-title">{{ project_name }}</a>
        <nav>
            <a href="{{ root_path }}repository/index.html">Log</a>
            <a href="{{ root_path }}repository/refs.html">Refs</a>
        </nav>
    </header>
    <main>
        <nav class="breadcrumb">
            {% for crumb in breadcrumbs %}
            {% if not loop.last %}<span class="breadcrumb-sep">/</span>{% endif %}
            {% if crumb.url %}<a href="{{ crumb.url }}">{{ crumb.name | escape }}</a>{% else %}<span>{{ crumb.name | escape }}</span>{% endif %}
            {% endfor %}
        </nav>

        <table class="tree-table">
            <tbody>
                {% for entry in entries %}
                <tr>
                    <td class="tree-mode tree-mode-{{ entry.kind }}"></td>
                    <td>
                        {% if entry.kind == "tree" %}
                        <a class="tree-entry-tree" href="{{ entry.url }}">{{ entry.name | escape }}/</a>
                        {% else %}
                        <a class="tree-entry-blob" href="{{ entry.url }}">{{ entry.name | escape }}</a>
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
            </tbody>
        </table>

        <p class="tree-rev">at <a class="hash" href="{{ commit_url }}">{{ commit_hash_short }}</a></p>
    </main>
</body>
</html>