<commit_before>.container
  include top-content.jade
  .content
    - for (var i in data.posts) {
    -  var cPost = data.posts[i];
    -  var tags = (cPost.tags = cPost.tags || []).map(function (c) { return "tag-" + c; }).join(" ");
    div(class="post " + tags)
      .post-info
        span.date #{cPost.date} by #{cPost.by}
        - if (cPost.tags.length) {
        span.tags
          - for (var i in cPost.tags) {
          = " | "
          span= cPost.tags[i]
          - }
        - }
      a(href=cPost.url).post-title
         h1 #{cPost.title}
      div.post-content.markdown !{content}
      div.post-bottom-shadow
      div.post-bottom
    - }
    .pagination
      - if (data.page.previous) {
      a.page.prev(href=config.blog.path + '/page/' + data.page.previous) « Previous page<commit_msg>Use Moment to format dates<commit_after>- var Moment = require("moment")
.container
  include top-content.jade
  .content
    - for (var i in data.posts) {
    -  var cPost = data.posts[i];
    -  var tags = (cPost.tags = cPost.tags || []).map(function (c) { return "tag-" + c; }).join(" ");
    div(class="post " + tags)
      .post-info
        - var displayDate = Moment(cPost.date).format("dddd, MMMM D YYYY");
        span.date #{displayDate} by #{cPost.by}
        - if (cPost.tags.length) {
        span.tags
          - for (var i in cPost.tags) {
          = " | "
          span= cPost.tags[i]
          - }
        - }
      a(href=cPost.url).post-title
         h1 #{cPost.title}
      div.post-content.markdown !{cPost.markdown}
      div.post-bottom-shadow
      div.post-bottom
    - }
    .pagination
      - if (data.page.previous) {
      a.page.prev(href=config.blog.path + '/page/' + data.page.previous) « Previous page
{'fraction_non_alphanumeric': 0.16361556064073227, 'fraction_numerical': 0.0011441647597254005, 'mean_word_length': 1.857843137254902, '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': '4751938', 'n_tokens_mistral': 617, 'n_tokens_neox': 605, 'n_words': 123}