X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Findex.html;h=04bbabe8780b5540e2e6bee80009e92153eb40c5;hb=0e21faff8279cf573c0483ff3be5092beef0e8e9;hp=6e18c960ca9d09d2f9a837b90d6bb8c43167dc9b;hpb=f4f28c7000e23cf2aa0f4175d91f76315f7f394f;p=motion.git diff --git a/templates/index.html b/templates/index.html index 6e18c96..04bbabe 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,27 +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 %}