<commit_before>{% resource 'ckanext-nhm/external-links' %}

{% block external_links %}
    <section class="module additional-info">
        <div class="module-content external-links">
            <h3>{{ _('External Links') }}</h3>
            {% block external_links_content %}
                {% set external_links = h.get_external_links(record) %}
                {% if external_links %}
                    {% for text, icon, links in external_links %}
                        <div class="external-link-parent">
                            <div class="external-link-name"><img width="16" height="16" src="{{ icon }}">&nbsp;<span>{{ text }}&nbsp;<i class="fas fa-caret-down"></i></span></div>
                            <ul>
                                {% for link_text, link in links %}
                                    <li class="external-link-child"><a href="{{ link }}" target="_blank" class="external">{{ link_text }}</a></li>
                                {% endfor %}
                            </ul>
                        </div>
                    {% endfor %}
                {% endif %}
            {% endblock %}
        </div>
    </section>
{% endblock %}
<commit_msg>Minor reformat<commit_after>{% resource 'ckanext-nhm/external-links' %}

{% block external_links %}
    <section class="module additional-info">
        <div class="module-content external-links">
            <h3>{{ _('External Links') }}</h3>
            {% block external_links_content %}
                {% set external_links = h.get_external_links(record) %}
                {% if external_links %}
                    {% for text, icon, links in external_links %}
                        <div class="external-link-parent">
                            <div class="external-link-name">
                                <img width="16" height="16" src="{{ icon }}">&nbsp;<span>{{ text }}&nbsp;<i class="fas fa-caret-down"></i></span>
                            </div>
                            <ul>
                                {% for link_text, link in links %}
                                    <li class="external-link-child">
                                        <a href="{{ link }}" target="_blank" class="external">
                                            {{ link_text }}
                                        </a>
                                    </li>
                                {% endfor %}
                            </ul>
                        </div>
                    {% endfor %}
                {% endif %}
            {% endblock %}
        </div>
    </section>
{% endblock %}

{'fraction_non_alphanumeric': 0.14498283098054177, 'fraction_numerical': 0.004578405188859214, 'mean_word_length': 1.1527093596059113, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5011333', 'n_tokens_mistral': 692, 'n_tokens_neox': 609, 'n_words': 133}