<commit_before>- @docs.each do |doc|
  %h2= link_to doc.title, doc
  %p= time_ago_in_words(doc.created_at)
  %p= truncate(doc.content, length: 50)

= link_to "Create Doc", new_doc_path<commit_msg>Style docs index<commit_after>.wrapper_with_padding
  #docs.clearfix
    - unless @docs.blank?
      - @docs.each do |doc|
        %a{href: (url_for [doc])}
          .doc
            %p.title= doc.title
            %p.date= time_ago_in_words(doc.created_at)
            %p.content= truncate(doc.content, length: 50)
    - else
      %h2 Create Doc!
      %p Start Creating Documents and Organizing your life!
      %button = link_to "Create Doc", new_doc_path
{'fraction_non_alphanumeric': 0.12195121951219512, 'fraction_numerical': 0.009146341463414634, 'mean_word_length': 2.7758620689655173, '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': '4487119', 'n_tokens_mistral': 241, 'n_tokens_neox': 232, 'n_words': 55}