diff options
Diffstat (limited to 'index.html.j2')
-rw-r--r-- | index.html.j2 | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/index.html.j2 b/index.html.j2 new file mode 100644 index 0000000..d25e242 --- /dev/null +++ b/index.html.j2 @@ -0,0 +1,42 @@ +<!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. Filer kan også findes <a href="https://git.jtle.dk/wallpapers">her</a>.</p> + {% 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> |