summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorseth <[email protected]>2024-07-19 21:10:35 -0400
committerseth <[email protected]>2024-07-19 21:10:35 -0400
commit86efdd0afb6219298ee7625e73dc1cb6004b7ca4 (patch)
treee537d4a2f5cb59864eed1a60b7278b221006d230 /templates/index.html
parent531455110155d3c86de2aff091f36ebddcb27fa5 (diff)
split up templates
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html25
1 files changed, 11 insertions, 14 deletions
diff --git a/templates/index.html b/templates/index.html
index db540b6..8a9042f 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,20 +1,17 @@
{% extends "base.html" %}
-{% block title %}{{ section.title }}{% endblock title %}
-{% block description %}{{ section.description }}{% endblock description %}
-
{% block content %}
-{{ section.content | safe }}
+ {{ section.content | safe }}
-<div id="gifs">
- {% for gif in config.extra.gifs %}
- {% set img = '<img src = "/imgs/gifs/' ~ gif.name ~'" alt="' ~ gif.alt ~ '" width=88 height=31 loading="lazy" decoding="async">' %}
- {% if gif.href %}
- <a href="{{ gif.href }}">{{ img | safe }}</a>
- {% else %}
- {{ img | safe }}
- {% endif %}
- {% endfor %}
-</div>
+ <div id="gifs">
+ {% for gif in config.extra.gifs %}
+ {% set img = '<img src = "/imgs/gifs/' ~ gif.name ~'" alt="' ~ gif.alt ~ '" width=88 height=31 loading="lazy" decoding="async">' %}
+ {% if gif.href %}
+ <a href="{{ gif.href }}">{{ img | safe }}</a>
+ {% else %}
+ {{ img | safe }}
+ {% endif %}
+ {% endfor %}
+ </div>
{% endblock content %}