summaryrefslogtreecommitdiff
path: root/index.html.j2
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-04-03 23:12:04 +0200
committerJulian T <julian@jtle.dk>2021-04-03 23:15:25 +0200
commit4cbc2eae6335222b74129c9eaedab39250c3b7b9 (patch)
tree109eb8b854896aa5b8e8777dbebcd08c615f578b /index.html.j2
parent556f61555c022946e80bd5815232867bfab77f6b (diff)
Moved to python based builder
Diffstat (limited to 'index.html.j2')
-rw-r--r--index.html.j242
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>