From 20d62336a446bea6c5846805e8325b67cd59fe54 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 8 Oct 2024 11:49:47 -0400 Subject: nice redesign (#145) * nix: drop treefmt * nix: remove .envrc * nix: move `serve` to apps output * nice redesign * use local stylesheet * nix: fix build --- templates/index.html | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index 8a9042f..9733821 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,17 +1,25 @@ {% extends "base.html" %} {% block content %} - {{ section.content | safe }} -
- {% for gif in config.extra.gifs %} - {% set img = '' ~ gif.alt ~ '' %} - {% if gif.href %} - {{ img | safe }} - {% else %} - {{ img | safe }} - {% endif %} +
+ {% for button in config.extra.buttons %} +
+ {% set imageTag = '' ~ button.alt ~ '' %} + {% if button.link %} + {{ imageTag | safe }} + {% else %} + {{ imageTag | safe }} + {% endif %} +
{% endfor %}
{% endblock content %} -- cgit v1.2.3