X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Findex.html;h=e3d1bad1e823c1cc35c9c0fab3893d7799605480;hb=4cfc1bb07644043d1e223178a98ea47f6a61d338;hp=6e18c960ca9d09d2f9a837b90d6bb8c43167dc9b;hpb=f4f28c7000e23cf2aa0f4175d91f76315f7f394f;p=motion.git diff --git a/templates/index.html b/templates/index.html index 6e18c96..e3d1bad 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,27 +1,50 @@ {% extends "base.html" %} {% block body %}
+{%- if categories|length != 0 %} +
+
-
-
- - + {%- if categories|length == 1 %} + + + {%- else %} + + {%- endif %} +
-
-
- +
+
+ {{_('Editing note: Markdown is used formatting.')}}
+ {{_('To add a line break add two lines, to enter a link use [text](https//domain.tld/link)')}}
+
-{% for motion in motions %} +{%- endif %} +{%- if prev %} +{%- if prev == -1 %} +{{_('Prev')}} +{%- else %} +{{_('Prev')}} +{%- endif %} +{%- endif %} +{%- for motion in motions %} {% include 'motion.html' %} -{% endfor %} +{%- endfor %} {%- if more %} -Next +{{_('Next')}} {%- endif %}
{%- endblock %}