def get_page_objects_by_type(context, object_type):
    """
    **Arguments**

    ``object_type``
        object type

    :return selected objects
    """
    try:
        objects = context['page']['content'][object_type]
    except KeyError:
        raise template.TemplateSyntaxError('wrong content type: {0:>s}'.format(object_type))
    return objects
**Arguments**

    ``object_type``
        object type

    :return selected objects