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

{% block head_title %}Registered Works -{% endblock %}

{% block page_header %}
Registered Works
{% endblock %}

{% block page_sub_header %} 
<a href="{{ profile.get_absolute_url }}">{{ profile.display_name }}</a>
{% endblock %}
{% block page_icon_class %}works{% endblock %}

{% block body %}

{% if message %}
<h3>{{ message }}</h3>
{% endif %}

    <ul class="licensed-works">
      {% for work in works %}
         {% include "works/list_item.html" %}
      {% endfor %}
    </ul>
    
{% endblock %}
<commit_msg>Only show the work list if we actually have a list.<commit_after>{% extends "base.html" %}

{% block head_title %}Registered Works -{% endblock %}

{% block page_header %}
Registered Works
{% endblock %}

{% block page_sub_header %} 
<a href="{{ profile.get_absolute_url }}">{{ profile.display_name }}</a>
{% endblock %}
{% block page_icon_class %}works{% endblock %}

{% block body %}

{% if message %}
<h3>{{ message }}</h3>
{% endif %}

{% if works %}
    <ul class="licensed-works">
      {% for work in works %}
         {% include "works/list_item.html" %}
      {% endfor %}
    </ul>
{% endif %}

{% endblock %}

{'fraction_non_alphanumeric': 0.19592875318066158, 'fraction_numerical': 0.0033927056827820186, 'mean_word_length': 3.4866920152091256, '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': '7234417', 'n_tokens_mistral': 456, 'n_tokens_neox': 383, 'n_words': 101}