<commit_before>articles = []
for article, slug in public.articles._data
  if article.date && article.published!==false
    - article.slug = slug
    - articles.push(public.articles._data[slug])

//- Iterate over the articles array
each article, i in articles.sort(function(a,b){ a = new Date(a.date); b = new Date(b.date); return b<a?-1:b>a?1:0; }).slice(0, postlimit)
  //- Article slug is the old object key that matched the file name,
  //- Like "a-post" for example
  //- Match it against the current page
  if article.slug == current.source
      //- Previous is one before this array item
      //- Next is one after
      //- Variables make it easy to template
      - prev = articles[i - 1]
      - next = articles[i + 1]
      //- The actual links
      ol.post-nav
      if prev
        a.post-prev(href="#{ prev.slug }") #{ prev.title }
      if next
        a.post-next(href="#{ next.slug }") #{ next.title }<commit_msg>Fix indentation<commit_after>articles = []
for article, slug in public.articles._data
  if article.date && article.published!==false
    - article.slug = slug
    - articles.push(public.articles._data[slug])

//- Iterate over the articles array
each article, i in articles.sort(function(a,b){ a = new Date(a.date); b = new Date(b.date); return b<a?-1:b>a?1:0; }).slice(0, postlimit)
  //- Article slug is the old object key that matched the file name,
  //- Like "a-post" for example
  //- Match it against the current page
  if article.slug == current.source
      //- Previous is one before this array item
      //- Next is one after
      //- Variables make it easy to template
      - prev = articles[i - 1]
      - next = articles[i + 1]
      //- The actual links
      ol.post-nav
        if prev
          a.post-prev(href="#{ prev.slug }") #{ prev.title }
        if next
          a.post-next(href="#{ next.slug }") #{ next.title }
{'fraction_non_alphanumeric': 0.14087513340448238, 'fraction_numerical': 0.0064034151547491995, 'mean_word_length': 2.459409594095941, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2990966', 'n_tokens_mistral': 603, 'n_tokens_neox': 592, 'n_words': 189}