summaryrefslogtreecommitdiff
path: root/templates/index.html
blob: db540b608a6370cb1710b5cb6571321c85c146b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 = "/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 %}