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 }} — {{ commit.hash_short }}</title>
    <link rel="stylesheet" href="{{ root_path }}static/site.css" />
</head>
<body>
    <header>
        <a href="{{ root_path }}" class="site-title">{{ project_name }}</a>
        <a href="../index.html">← Log</a>
        <nav>
            <a href="../index.html">Log</a>
            <a href="../refs.html">Refs</a>
        </nav>
    </header>
    <main>
        <h2 class="section-heading">Commit{% if has_browse %} <a class="hash" href="../browse/{{ commit.hash }}/">browse files</a>{% endif %}</h2>
        <div class="commit-meta">
            <dl>
                <dt>Hash</dt>
                <dd><span class="hash-full">{{ commit.hash }}</span></dd>
                <dt>Author</dt>
                <dd>{{ commit.author_name }} &lt;{{ commit.author_email }}&gt;</dd>
                <dt>Date</dt>
                <dd><time datetime="{{ commit.date_iso }}">{{ commit.datetime_display }}</time></dd>
                {% if commit.parents %}
                <dt>Parent{% if commit.parents | length > 1 %}s{% endif %}</dt>
                <dd>
                    {% for p in commit.parents %}
                    <a class="hash" href="{{ p.hash }}.html">{{ p.hash_short }}</a>{% if not loop.last %} {% endif %}
                    {% endfor %}
                </dd>
                {% endif %}
            </dl>
        </div>
        <h2 class="section-heading">Message</h2>
        <div class="commit-message">{{ commit.subject }}{% if commit.body %}

{{ commit.body }}{% endif %}</div>
        {% if changed_files %}
        <h2 class="section-heading">Changed Files ({{ changed_files | length }})</h2>
        <ul class="files-list">
            {% for f in changed_files %}
            <li>
                <details>
                    <summary>
                        <span class="badge badge-{{ f.status }}">{{ f.status }}</span>
                        <span class="file-path">{{ f.path }}</span>
                    </summary>
                    {% if f.diff_lines %}
                    <table class="diff-table"><tbody>
                        {% for line in f.diff_lines %}<tr class="diff-{{ line.kind }}"><td class="diff-cell">{{ line.content }}</td></tr>
                        {% endfor %}
                    </tbody></table>
                    {% endif %}
                </details>
            </li>
            {% endfor %}
        </ul>
        {% endif %}
    </main>
</body>
</html>