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 }} — {{ filename }}</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>

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

        {% if is_binary %}
        <p class="blob-notice">Binary file ({{ size }} bytes)</p>
        {% elif too_large %}
        <p class="blob-notice">File too large to display ({{ size }} bytes)</p>
        {% elif content_html %}
        <div class="blob-content">{{ content_html | safe }}</div>
        {% else %}
        <p class="blob-notice">Empty file</p>
        {% endif %}
    </main>
</body>
</html>