<commit_before>---
layout: listen
title: Index
class: index
---
# Index

This is the index to the unofficial listener training course.

It lists the sections you have completed, so that you can revisit them.

You can also reset the course from here and start again from the beginning.

<button onclick="nextpage()">Begin the Course</button>

<style>
h4 {font-weight: 400; margin: 0; line-height: 1.35em;}
h4.section {margin-left: 2em;}
h4.chapter {font-weight: 500; margin-top: 1ex;}
h4 a {text-decoration: none;}
h4 a:hover {text-decoration: underline;}
</style>

{% for section in site.listen %}
  {% case section.class %}
    {% when 'chapter' %}
#### [{{ section.title }}]({{ section.url | remove '.html' "Go to this chapter"}})
{: .chapter data-serial="{{ section.serial }}"}
    {% when 'section' %}
#### [{{ section.title }}]({{ section.url | remove '.html' "Go to this section"}})
{: .section data-serial="{{ section.serial }}"}
    {% else %}
      {% continue %}
  {% endcase %}
{% endfor %}<commit_msg>try a liquid variable<commit_after>---
layout: listen
title: Index
class: index
---
# Index

This is the index to the unofficial listener training course.

It lists the sections you have completed, so that you can revisit them.

You can also reset the course from here and start again from the beginning.

<button onclick="nextpage()">Begin the Course</button>

<style>
h4 {font-weight: 400; margin: 0; line-height: 1.35em;}
h4.section {margin-left: 2em;}
h4.chapter {font-weight: 500; margin-top: 1ex;}
h4 a {text-decoration: none;}
h4 a:hover {text-decoration: underline;}
</style>

{% for section in site.listen %}
  {% assign url = section.url | remove '.html' %}
  {% case section.class %}
    {% when 'chapter' %}
#### [{{ section.title }}]({{ url "Go to this chapter"}})
{: .chapter data-serial="{{ section.serial }}"}
    {% when 'section' %}
#### [{{ section.title }}]({{ url "Go to this section"}})
{: .section data-serial="{{ section.serial }}"}
    {% else %}
      {% continue %}
  {% endcase %}
{% endfor %}
{'fraction_non_alphanumeric': 0.17797443461160276, 'fraction_numerical': 0.01671583087512291, 'mean_word_length': 3.951338199513382, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '59729', 'n_tokens_mistral': 707, 'n_tokens_neox': 624, 'n_words': 224}