summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..3617682
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,20 @@
+{% extends "base.html" %}
+
+{% block title %}{{ section.title }}{% endblock title %}
+{% block description %}{{ section.description }}{% endblock description %}
+
+{% block content %}
+
+{{ section.content | safe }}
+
+<div id="gifs">
+ {% for gif in config.extra.gifs %}
+ {% set img = '<img src="' ~ get_url(path='/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 %}