X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Findex.html;h=16adecc2a9127fda861e405ce655b348eccc9ec7;hb=e59274f6a108ec57931014e8fcb1319c63fa1f2d;hp=9175db69462c45564f7fa108d36510a83383948a;hpb=755d275d1bd47a0d480834ad4c6255691a3a798b;p=motion.git diff --git a/templates/index.html b/templates/index.html index 9175db6..16adecc 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,34 +1,48 @@ {% 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)
-{% if prev %} -{% if prev == -1 %} -Prev -{% else %} -Prev -{% endif %} -{% endif %} -{% 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 %}