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

{% load static %}


{% block page_title %}Resources{% endblock %}

{% block content %}

  <div class='container'>
    <h1 class='text-center'>Resources</h1>

    {% include 'resources/snippets/resource-category-list.html' with categories=important_categories %}

    {% if categories %}

      <div class='divider'></div>

    {% endif %}

    {% include 'resources/snippets/resource-category-list.html' %}

  </div>

{% endblock %}<commit_msg>Fix issue where divider on resource page was always shown.<commit_after>{% extends 'base.html' %}

{% load static %}


{% block page_title %}Resources{% endblock %}

{% block content %}

  <div class='container'>
    <h1 class='text-center'>Resources</h1>

    {% include 'resources/snippets/resource-category-list.html' with categories=important_categories %}

    {% if important_categories and categories %}

      <div class='divider'></div>

    {% endif %}

    {% include 'resources/snippets/resource-category-list.html' %}

  </div>

{% endblock %}
{'fraction_non_alphanumeric': 0.16602687140115163, 'fraction_numerical': 0.003838771593090211, 'mean_word_length': 3.8511627906976744, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '4625980', 'n_tokens_mistral': 361, 'n_tokens_neox': 300, 'n_words': 67}