<commit_before>= link_to 'New Post', new_post_path if current_user.present?

div.blog_wrapper
  - @posts.each do |post|
    div.post
      span.date_of_post= time_of_post(post.created_at)
      h2.post_title
        = link_to post.title, post
      div.post_body
        = truncate(render_markdown(post.body).html_safe, length: 710)
      div.post_actions
        = link_to 'read more >>', post, class: 'go_back_link'
        - if current_user.present?
          = link_to 'Show', post
          = link_to 'Edit', edit_post_path(post)
          = link_to 'Destroy', post, :confirm => 'Are you sure?', :method => :delete
br<commit_msg>remove br tag<commit_after>= link_to 'New Post', new_post_path if current_user.present?

div.blog_wrapper
  - @posts.each do |post|
    div.post
      span.date_of_post= time_of_post(post.created_at)
      h2.post_title
        = link_to post.title, post
      div.post_body
        = truncate(render_markdown(post.body).html_safe, length: 710)
      div.post_actions
        = link_to 'read more >>', post, class: 'go_back_link'
        - if current_user.present?
          = link_to 'Show', post
          = link_to 'Edit', edit_post_path(post)
          = link_to 'Destroy', post, :confirm => 'Are you sure?', :method => :delete
{'fraction_non_alphanumeric': 0.11857707509881422, 'fraction_numerical': 0.006324110671936759, 'mean_word_length': 2.8132530120481927, 'pattern_counts': {'":': 0, '<': 3, '<?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': '339240', 'n_tokens_mistral': 435, 'n_tokens_neox': 426, 'n_words': 94}