misago_absoluteurl
{% absoluteurl %}
tag from Django, except it uses the
MISAGO_ADDRESS` setting to render the absolute URL suitable for using in e-mails.misago_batch
misago_batch
provides two simple and lazy filters that enable you to do this:{{ itemslist|batch:4 }}
{{ itemslist|batchnonefilled:4 }}
batch
filter, but with one difference:None
to make it requested length.misago_capture
{% capture as NAME %}{% endcapture %}
misago_dates
{{ item.posted_on|compact_date }}
MISAGO_COMPACT_DATE_FORMAT_DAY_MONTH
setting if date is in current year, or MISAGO_COMPACT_DATE_FORMAT_DAY_MONTH_YEAR
if not. Defaults to "7 may" for same year dates and "may '13" for past years dates.misago_forms
{% form_row form.field labelclass fieldclass%}
{% form_input %}
misago_json
{{ frontend_context|as_json }}
<
signs so </script>
are not interpreted as HTML resulting in XSS.{{ 'this is outputed'|iftrue:test }}
{{ "fade in"|iftrue:thread.is_closed }}
will render fade in
in template if thread.is_closed
evaluates to True
.{{ 'this is outputed'|iffalse:test }}
iftrue
. Outputs value if test evaluates to False
.