<commit_before>---
layout: default
---
{% capture id %}{{page.id}}{% endcapture %}
{% assign collection = site.data.collections[{{id}}] %}
{% capture fa_number %}{{ collection.id_0 }}{% if collection.id_1 %}.{{ collection.id_1 }}{% endif %}{% if collection.id_2 %}.{{ collection.id_2 }}{% endif %}{% if collection.id_3 %}.{{ collection.id_3 }}{% endif %}{% endcapture %}
<div class="col-md-8 col-md-offset-2">

  {% include collection/breadcrumb.html %}

  <h1 class="collection-title">
    {{ collection.title }} ({{fa_number}})
    <small>
      {{collection.dates[0].expression}}
    </small>
  </h1>

  <div class="collection-extents">
    {% for extent in collection.extents %}
      {% include collection/extent.html %}
    {% endfor %}
  </div>

  <div class="collection-notes">
    {% for note in collection.notes %}
      {% include collection/note.html %}
    {% endfor %}
  </div>

  {% if collection.tree.ref %}
    <div class="collection-contents">
      {% assign tree = site.data.trees[{{id}}].children %}
      {% include collection/component.html %}
    </div>
  {% endif %}

</div><commit_msg>updating collection layout for controlled terms<commit_after>---
layout: default
---
{% capture collection_id %}{{page.id}}{% endcapture %}
{% assign collection = site.data.collections[{{collection_id}}] %}
{% capture fa_number %}{{ collection.id_0 }}{% if collection.id_1 %}.{{ collection.id_1 }}{% endif %}{% if collection.id_2 %}.{{ collection.id_2 }}{% endif %}{% if collection.id_3 %}.{{ collection.id_3 }}{% endif %}{% endcapture %}
<div class="col-md-8 col-md-offset-2">

  {% include collection/breadcrumb.html %}

  <h1 class="collection-title">
    {{ collection.title }} ({{fa_number}})
    <small>
      {{collection.dates[0].expression}}
    </small>
  </h1>

  <div class="collection-extents">
    {% for extent in collection.extents %}
      {% include collection/extent.html %}
    {% endfor %}
  </div>

  <div class="collection-agents">
    {% include collection/agent-list.html %}
  </div>

  <div class="collection-subjects">
    {% for subject in collection.subjects %}
      {% capture subject_id %}{{subject.ref | replace: '/subjects/', ''}}{% endcapture %}
      {% assign subject_detail = site.data.subjects[{{subject_id}}] %}
      {% include collection/subject.html %}
    {% endfor %}
  </div>

  <div class="collection-notes">
    {% for note in collection.notes %}
      {% include collection/note.html %}
    {% endfor %}
  </div>

  {% if collection.tree.ref %}
    <div class="collection-contents">
      {% assign tree = site.data.trees[{{collection_id}}].children %}
      {% include collection/component.html %}
    </div>
  {% endif %}

</div>
{'fraction_non_alphanumeric': 0.2010405053883315, 'fraction_numerical': 0.008918617614269788, 'mean_word_length': 3.3986928104575163, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '6166357', 'n_tokens_mistral': 940, 'n_tokens_neox': 848, 'n_words': 170}