summaryrefslogtreecommitdiff
path: root/index.html.j2
blob: fde5f4bb0fa24cbcd6e2ede895e384438e0bdf96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Jtle images</title>
        <link rel="icon" href="/favicon.png">
        <meta name="robots" content="noindex,nofollow">
        <style>
            img {
                width: 50%;
            }
            .post {
                background-color: lightgray;
                margin-bottom: 20px;
                padding: 10px;
            }
        </style>
    </head>
    <body>
        <p>Billeder taget på forskellige ferier etc, som jeg bruger til baggrund.</p>

        {% if cgit is not none %}
        <p>Klik på et billede for at få fuld opløsning.
        Højere opløsning samt licens kan også findes her <a href="{{ cgit }}/tree">her</a>.</p>
        {% endif %}
        {% for post in posts %}
        <div class="post">
            <p>{{ post.text }}</p>
            {% for img in post.imgs %}
            {% if cgit is not none %}
            <a href="{{cgit}}/plain/{{img}}">
                <img src="{{ imgfetch(img) }}" />
            </a>
            {% else %}
                <img src="{{ imgfetch(img) }}" />
            {% endif %}

            {% endfor %}
        </div>
        {% endfor %}


        {% if git is not none %}
        <p>Bygget fra commit {{ git }}</p>
        {% endif %}
    </body>
</html>