<commit_before>{% if related_pages %}
    <div class="{{ css_classes }}">
        <h3>{{ object.title|default:"Related pages" }}</h3>

        <ul>
            {% for related_page, link_url in related_pages_links %}
                <li>
                    {% if related_page.page %}
                        <a href="{{ related_page.page.get_absolute_url }}">{{ related_page.title|default:related_page.page.title }} <span>{{ link_url }}</span></a>
                    {% else %}
                        <a href="{{ related_page.link }}">{{ related_page.title }} <span>{{ link_url }}</span></a>
                    {% endif %}
                </li>
            {% endfor %}
        </ul>
    </div>
{% endif %}<commit_msg>Add template tag for new window<commit_after>{% if related_pages %}
    <div class="{{ css_classes }}">
        <h3>{{ object.title|default:"Related pages" }}</h3>

        <ul>
            {% for related_page, link_url in related_pages_links %}
                <li>
                    {% if related_page.page %}
                        <a href="{{ related_page.page.get_absolute_url }}" {% if related_page.new_window %}target="_blank" rel="noopener"{% endif %}>{{ related_page.title|default:related_page.page.title }} <span>{{ link_url }}</span></a>
                    {% else %}
                        <a href="{{ related_page.link }}" {% if related_page.new_window %}target="_blank" rel="noopener"{% endif %}>{{ related_page.title }} <span>{{ link_url }}</span></a>
                    {% endif %}
                </li>
            {% endfor %}
        </ul>
    </div>
{% endif %}
{'fraction_non_alphanumeric': 0.17786069651741293, 'fraction_numerical': 0.0024875621890547263, 'mean_word_length': 1.8528368794326242, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6002457', 'n_tokens_mistral': 512, 'n_tokens_neox': 447, 'n_words': 95}