Abbaye

at e1dfdc3

<!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 }} — Refs</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="index.html">Log</a>
            <a href="refs.html" class="active">Refs</a>
        </nav>
    </header>
    <main>
        {% if tags %}
        <h2 class="section-heading">Tags</h2>
        <table>
            <thead><tr><th>Tag</th><th>Hash</th></tr></thead>
            <tbody>
                {% for ref in tags %}
                <tr id="tag-{{ ref.short_name }}">
                    <td><span class="ref-kind-tag">{{ ref.short_name | escape }}</span></td>
                    <td><a class="hash" href="commit/{{ ref.hash }}.html">{{ ref.hash_short }}</a></td>
                </tr>
                {% endfor %}
            </tbody>
        </table>
        {% endif %}

        {% if branches %}
        <h2 class="section-heading">Branches</h2>
        <table>
            <thead><tr><th>Branch</th><th>Hash</th></tr></thead>
            <tbody>
                {% for ref in branches %}
                <tr>
                    <td><span class="ref-kind-branch">{{ ref.short_name }}</span></td>
                    <td><a class="hash" href="commit/{{ ref.hash }}.html">{{ ref.hash_short }}</a></td>
                </tr>
                {% endfor %}
            </tbody>
        </table>
        {% endif %}

        {% if not tags and not branches %}
        <p style="color: var(--text-muted);">No refs found.</p>
        {% endif %}
    </main>
</body>
</html>