"""Particularly when displaying bullets, it can be immensely helpful to
construct a list _within_ the template. Django's templates don't provide this
out of the box, so we need a new template tag. Suggestion from:
    http://stackoverflow.com/a/34407158"""
from django import template

register = template.Library()


@register.assignment_tag
def to_list(*args):
    return args

Add macro for creating a list
Add macro for creating a list

This also allows us to pass a list in as a variable to a template, which, in
turn, allows us to make things like a re-usable landing page search template
for ATF
