{% set baseUrl = renderBaseUrlHeader() %}
Search.appendIndex(
    [
        {% for element in project.indexes.elements %}
        {
            "fqsen": "{{ element.fullyQualifiedStructuralElementName|e('js') }}",
            "name": "{{ element.name|e('js') }}",
            "summary": "{{ element.summary|e('js') }}",
            "url": "{{ link(element) }}"
        }{% if not loop.last %},{% endif %}
        {% endfor %}
    ]
);
