X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;ds=sidebyside;f=templates%2Findex.html;h=125dc7c07fc7ac9fa26a90fae7140be85731323e;hb=2ef737b83b30924f7e1b0b600bcb7f1a1aa6e346;hp=57a73f8698104a66202a5e1c8fe60f80301d81bb;hpb=2f6d14ef5785b7c7bb67b57ed9253b080ebf2f72;p=motion.git diff --git a/templates/index.html b/templates/index.html index 57a73f8..125dc7c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,20 +1,53 @@ {% extends "base.html" %} {% block body %}
-
+{%- if categories|length != 0 %} + +
+
+User: {{g.user}} +
+
-
+
+ + {%- 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 %}