<commit_before>
{% extends "base.html" %}

{% load static core_tags %}
{% load wagtailcore_tags wagtailimages_tags %}

{% block body_class %}template-{{ self.get_verbose_name|slugify }}{% endblock %}

{% block content %}
    <div class="articles nav {{self.get_effective_extra_style_hints}}">
      <h2 class="list-header">
        {% if self.image %}
          <a href="{% pageurl self %}">{% image self.image width-60 %}</a>
        {% endif %}
        {{self.title}}
      </h2>
      {% for section in self.sections %}
        <h2 class="list-header">
          {% if section.image %}
            <a href="{% pageurl section %}">{% image section.image width-60 %}</a>
          {% endif %}
          <a href="{% pageurl section %}">{{section.title}}</a>
          <ul class="list-block">
            <li>
              {% if section.description %}<p>{{section.description}}</p>{% endif %}
              {% if section.featured_articles %}
              {% for article in section.featured_articles %}
                {% if article.image %}
                <a href="{% pageurl article %}">{% image article.image width-60 %}</a>
                {% endif %}
                <h3><a href="{% pageurl article %}">{{article.title}}</a></h3>
                <p>{{article.subtitle}}</p>
              {% endfor %}
              {% endif %}
            </li>
          </ul>
        </h2>
      {% endfor %}

      {% for article in self.articles %}<commit_msg>Add More articles link at bottom if there are more articles in section<commit_after>
{% extends "base.html" %}

{% load static core_tags i18n %}
{% load wagtailcore_tags wagtailimages_tags %}

{% block body_class %}template-{{ self.get_verbose_name|slugify }}{% endblock %}

{% block content %}
    <div class="articles nav {{self.get_effective_extra_style_hints}}">
      <h2 class="list-header">
        {% if self.image %}
          <a href="{% pageurl self %}">{% image self.image width-60 %}</a>
        {% endif %}
        {{self.title}}
      </h2>
      {% for section in self.sections %}
        <h2 class="list-header">
          {% if section.image %}
            <a href="{% pageurl section %}">{% image section.image width-60 %}</a>
          {% endif %}
          <a href="{% pageurl section %}">{{section.title}}</a>
          <ul class="list-block">
            <li>
              {% if section.description %}<p>{{section.description}}</p>{% endif %}
              {% if section.featured_articles %}
              {% for article in section.featured_articles %}
                {% if article.image %}
                <a href="{% pageurl article %}">{% image article.image width-60 %}</a>
                {% endif %}
                <h3><a href="{% pageurl article %}">{{article.title}}</a></h3>
                <p>{{article.subtitle}}</p>
              {% endfor %}
              {% if section.featured_articles|length < section.articles|length %}
              <div class="more listing {{section.slug }}">
                <a href="{% pageurl section %}">{% trans 'More' %} {{section.title}}</a>
              </div>
              {% endif %}
              {% endif %}
            </li>
          </ul>
        </h2>
      {% endfor %}

      {% for article in self.articles %}
{'fraction_non_alphanumeric': 0.17842835130970724, 'fraction_numerical': 0.008012326656394453, 'mean_word_length': 1.9086021505376345, 'pattern_counts': {'":': 0, '<': 58, '<?xml version=': 0, '>': 57, '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': '2540586', 'n_tokens_mistral': 1076, 'n_tokens_neox': 910, 'n_words': 223}