<!DOCTYPE html>
<html>

<head>
    <link rel="stylesheet" href="../page.css">
</head>

<body>
    <div class="navigation">
        {% if prev %}
        <a href={{ prev }}>Prev</a>
        {% endif %}
        {% if next %}
        <a class="next" href={{ next }}>Next</a>
        {% endif %}
    </div>
    {% if readme %}
    <div class="readme">
        <div class="readme-content">
            {{readme}}
        </div>
    </div>
    {% endif %}
    {% for image in images %}
    <div class="image-container">
        <div class="image-container-element">
            <img src='{{ image[1] }}'>
            <div class="meta-image">
                <a href="{{ image[0] }}">Large</a>
                {% if image|length > 2 %}
                <a class="export" href="{{ image[2] }}">export file</a>
                {% endif %}
            </div>
        </div>
    </div>
    {% endfor %}
    {% if raw or exif %}
    <div class="download">
        <h1>Download</h1>
        {% if raw %}
        <a href="{{ raw }}">RAW</a>
        {% endif %}
        {% if exif %}
        <a href="{{ exif }}">Exif</a>
        {% endif %}
    </div>
    {% endif %}
</body>

</html>