<commit_before>{% extends "base.html" %}
{% block body %}
  <ul class="extensions">
  {% if extension_list %}
  {% load paginator %}
  {% if page_obj.has_other_pages %}
  <div class="paginator">
    {% paginator page_obj %}
  </div>
  {% endif %}

  {% for extension in extension_list %}
  {% with extension.latest_version as version %}
    <li class="extension">
      <h3 class="extension-name"><a href="{% url extensions-detail pk=extension.pk %}" class="title-link"><img src="{{ extension.icon.url }}" class="icon">{{ extension.name }}</a></h3>
      <span class="author">by <a href="{% url auth-profile user=extension.creator.username %}">{{ extension.creator }}</a></span>
      <p class="description">
        {{ extension.description }}
      </p>
    </li>
  {% endwith %}
  {% endfor %}
  {% else %}
    <div class="empty">
      There are no extensions.
    </div>
  {% endif %}
  </ul>
<commit_msg>Remove an unused with block in templates<commit_after>{% extends "base.html" %}
{% block body %}
  <ul class="extensions">
  {% if extension_list %}
  {% load paginator %}
  {% if page_obj.has_other_pages %}
  <div class="paginator">
    {% paginator page_obj %}
  </div>
  {% endif %}

  {% for extension in extension_list %}
    <li class="extension">
      <h3 class="extension-name"><a href="{% url extensions-detail pk=extension.pk %}" class="title-link"><img src="{{ extension.icon.url }}" class="icon">{{ extension.name }}</a></h3>
      <span class="author">by <a href="{% url auth-profile user=extension.creator.username %}">{{ extension.creator }}</a></span>
      <p class="description">
        {{ extension.description }}
      </p>
    </li>
  {% endfor %}
  {% else %}
    <div class="empty">
      There are no extensions.
    </div>
  {% endif %}
  </ul>

{'fraction_non_alphanumeric': 0.19921436588103256, 'fraction_numerical': 0.002244668911335578, 'mean_word_length': 3.338199513381995, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '7145646', 'n_tokens_mistral': 619, 'n_tokens_neox': 560, 'n_words': 135}