nip.utils.jinja_filters

nip.utils.jinja_filters#

Custom filters for Jinja2 templates.

Functions

add_s_plural(value, count)

Add 's' to a string if the count is not 1.

capitalise_first_letter(value)

Capitalise the first letter of a string.