From 3c7230c191ade30d5b9c8ef02a019ba42ab519f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 31 Mar 2022 02:06:41 +0300 Subject: Ready for packaging * Documentation * make install/uninstall * roscha truthy fix * Other fixes/improvements --- assets/templates/index.html | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'assets/templates/index.html') diff --git a/assets/templates/index.html b/assets/templates/index.html index 61160a5..bf62607 100644 --- a/assets/templates/index.html +++ b/assets/templates/index.html @@ -11,23 +11,24 @@ {% endfor %}

{% for year in years %} -

{{ year.name }}

- {% for album in year.albums %} - {% if album.title %} -

{{ album.title }}

- {% else %} -

Untitled

- {% endif %} -
- {% for thumb in album.thumbs %} - {% if loop.index < 4 %} - - - +

{{ year.name }}

+ {% for album in year.albums %} + {% if album.title %} +

{{ album.title }}

+ {% else %} +

Untitled

{% endif %} +
+ {% for thumb in album.thumbs %} + {% if loop.index >= 4 %} + {% break %} + {% endif %} + + + + {% endfor %} +
{% endfor %} -
- {% endfor %} {% endfor %} {% endblock %} -- cgit v1.2.3