summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-22 22:00:02 -0400
committerseth <[email protected]>2024-05-22 20:45:24 -0600
commit8fd8b7e53d59a034706dd7eaad6b608721ce3cdb (patch)
tree2ce7e4a8b7eafc9d8550a54aa6d4f34d678d76f5 /templates/index.html
parent329bf8a3384474cfe45ecae142dfb7d97b699aa2 (diff)
move to zola
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 %}