X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Findex.html;h=b53a236213c4c652cfb690a8406f4f7675861625;hb=fb14879eed07a490aab3a9263db29e4a0323ae41;hp=6e18c960ca9d09d2f9a837b90d6bb8c43167dc9b;hpb=f4f28c7000e23cf2aa0f4175d91f76315f7f394f;p=motion.git diff --git a/templates/index.html b/templates/index.html index 6e18c96..b53a236 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,11 +1,22 @@ {% extends "base.html" %} {% block body %}
+{%- if categories|length != 0 %}
- - + {%- if categories|length == 1 %} + + + {%- else %} + + {%- endif %} +