<commit_before>---
# use this file to scrape the important parts of the collections api
---
/** Extract pieces of the Jekyll Collection API 
  variables are loaded in as window.sitecontent
  **/
  // automatically happens because it is in the source
  // after jekyll parses it
  
var sitecontent = [];

{% for content in site.content %}
sitecontent[ {{forloop.index}} ] = {
  title: "{{content.title}}",
  path: "{{content.relative_path}}",
  url: "{{site.baseurl}}{{content.url}}",
  type: "{{content.type}}",
  layout: "{{content.layout}}"
};
{% endfor %}

console.alert( 'The Jekyll site contents is available in window.sitecontent')<commit_msg>Update site.js<commit_after>---
# use this file to scrape the important parts of the collections api
---
/** Extract pieces of the Jekyll Collection API 
  variables are loaded in as window.sitecontent
  **/
  // automatically happens because it is in the source
  // after jekyll parses it
  
var sitecontent = [];

{% for content in site.content %}
sitecontent[ {{forloop.index}} ] = {
  title: "{{content.title}}",
  path: "{{content.relative_path}}",
  url: "{{site.baseurl}}{{content.url}}",
  type: "{{content.type}}",
  layout: "{{content.layout}}"
};
{% endfor %}

console.log( 'The Jekyll site contents is available in window.sitecontent')
{'fraction_non_alphanumeric': 0.15497301464919044, 'fraction_numerical': 0.0, 'mean_word_length': 4.011583011583012, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7101428', 'n_tokens_mistral': 406, 'n_tokens_neox': 391, 'n_words': 132}