{% for service in services %}
<div class="search-result">
    <h2 class="search-result-title">
        <a href="/service/{{ service.id }}">{{ service.serviceName }}</a>
        </h1>
        <p class="search-result-supplier">
            {{ service.supplierName }}
        </p>

        <p class="search-result-excerpt">
            {{ service.serviceSummary }}
        </p>
        <ul aria-label="tags" class="search-result-metadata">
            <li class="search-result-metadata-item">
                {{ service.lot }}
            </li>
            <li class="search-result-metadata-item">
                {{ service.frameworkName }}
            </li>
        </ul>
</div>
{% endfor %}

{% for service in services %}
<div class="search-result">
    <h2 class="search-result-title">
        <a href="/service/{{ service.id }}">{{ service.serviceName }}</a>
    </h2>
    <p class="search-result-supplier">
        {{ service.supplierName }}
    </p>

    <p class="search-result-excerpt">
        {{ service.serviceSummary }}
    </p>
    <ul aria-label="tags" class="search-result-metadata">
        <li class="search-result-metadata-item">
            {{ service.lot }}
        </li>
        <li class="search-result-metadata-item">
            {{ service.frameworkName }}
        </li>
    </ul>
</div>
{% endfor %}

Fix closing header tag for search result
Fix closing header tag for search result

Includes corrections for indenting.
