diff options
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 25 |
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 %} |
