diff options
author | Julian T <julian@jtle.dk> | 2021-06-08 20:20:31 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-06-08 20:20:31 +0200 |
commit | e7dc10f1bd0ad3a1ddcaed37bb53e82a5e6e934d (patch) | |
tree | 6333192002bc47cc8eb38952340c587847d4e21f /index.html.j2 | |
parent | b4bea04224d5d418c148ea9f7badc8ad489e7a17 (diff) |
Output to index.json instead of html template
Diffstat (limited to 'index.html.j2')
-rw-r--r-- | index.html.j2 | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/index.html.j2 b/index.html.j2 deleted file mode 100644 index ba58b70..0000000 --- a/index.html.j2 +++ /dev/null @@ -1,50 +0,0 @@ -<!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 ctx.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 img in images %} - <div class="post"> - {% if img.taken is not none %} - <i>Taget den {{ img.taken }}</i> - {% endif %} - {% if img.description is not none %} - <p>{{ img.description }}</p> - {% endif %} - {% if img.fullurl is not none %} - <a href="{{ img.fullurl }}"> - <img src="{{ img.scaledpath }}" /> - </a> - {% else %} - <img src="{{ img.scaledpath }}" /> - {% endif %} - </div> - {% endfor %} - - - {% if ctx.git is not none %} - <p>Bygget fra commit {{ ctx.git }}</p> - {% endif %} - </body> -</html> |