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 }} — {{ current_branch }}</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" class="active">Log</a>
            <a href="refs.html">Refs</a>
        </nav>
    </header>
    <main>
        {% if clone_url %}
        <div class="clone-box">
            <span class="clone-label">Clone</span>
            <span class="clone-url">git clone {{ clone_url }}</span>
        </div>
        {% endif %}

        {% if branch_nav | length > 1 %}
        <div class="branch-switcher">
            {% for b in branch_nav %}
            <a href="{{ b.filename }}"{% if b.is_current %} class="active"{% endif %}>{{ b.short_name  }}</a>
            {% endfor %}
        </div>
        {% endif %}

        <h2 class="section-heading">{{ current_branch }}</h2>
        <table>
            <thead>
                <tr>
                    <th>Hash</th>
                    <th>Subject</th>
                    <th>Author</th>
                    <th>Date</th>
                </tr>
            </thead>
            <tbody>
                {% for commit in commits %}
                <tr>
                    <td class="commit-hash-cell">
                        <a class="hash" href="commit/{{ commit.hash }}.html">{{ commit.hash_short }}</a>{% for badge in commit.ref_badges %}<span class="ref-badge ref-badge-{{ badge.kind }}">{{ badge.label }}</span>{% endfor %}
                    </td>
                    <td>{{ commit.subject }}</td>
                    <td>{{ commit.author_name }}</td>
                    <td><time datetime="{{ commit.date_iso }}">{{ commit.date }}</time></td>
                </tr>
                {% endfor %}
            </tbody>
        </table>
        {% if truncated %}
        <p style="margin-top:1rem; font-size:0.85rem; color:var(--text-muted);">
            Showing the {{ commits | length }} most recent commits.
        </p>
        {% endif %}
    </main>
</body>
</html>