<commit_before>---
pageable: true
per_page: 10
---

- if paginate && num_pages > 1
  p = "Page #{page_number} of #{num_pages}"
  - if prev_page
    p = link_to 'Previous page', prev_page

- page_articles.group_by(&:date).each do |date, articles|
  h2.post-title = date.strftime('%F')
  - articles.each do |article|
    = partial :article, locals: {title: article.title, path: article, body: article.body}
    = link_to 'Comments', "#{article.url}#disqus_thread"
    hr

- if paginate
  - if next_page
    p = link_to 'Next page', next_page

= disqus_count<commit_msg>Fix articles order<commit_after>---
pageable: true
per_page: 10
---

- if paginate && num_pages > 1
  p = "Page #{page_number} of #{num_pages}"
  - if prev_page
    p = link_to 'Previous page', prev_page

- page_articles.group_by(&:date).each do |date, articles|
  h2.post-title = date.strftime('%F')
  - articles.sort_by {|a| a.title.to_i }.each do |article|
    = partial :article, locals: {title: article.title, path: article, body: article.body}
    = link_to 'Comments', "#{article.url}#disqus_thread"
    hr

- if paginate
  - if next_page
    p = link_to 'Next page', next_page

= disqus_count
{'fraction_non_alphanumeric': 0.14824335904027422, 'fraction_numerical': 0.006855184233076264, 'mean_word_length': 3.5803921568627453, 'pattern_counts': {'":': 0, '<': 3, '<?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': '477015', 'n_tokens_mistral': 443, 'n_tokens_neox': 430, 'n_words': 110}