<commit_before>-@posts.each do |post|
  .row-fluid
    .span10
      %h1
        =link_to post.title, post
        %small 
          by #{user_link post.user} in #{link_to "Site News", news_posts_path} on #{dt(post.created_at)}
    .span2
      .pull-right 
        -if admin?
          =link_to "admin", [:edit, :admin, post], :class => 'btn small btn-primary' 
  
  %hr.slim
  .rich=rich post.contents
  
  
  =paginate @posts<commit_msg>Converting site news index to a table display instead of list<commit_after>%h2 Site News
-if @posts
  %table.table.table-striped
    %tr
      %th Title
      %th Created
      %th Author
    -@posts.each do |post|
      %tr
        %td=link_to post.title, post
        %td=dt post.created_at
        %td=user_link post.user

  =paginate @posts
{'fraction_non_alphanumeric': 0.11862244897959184, 'fraction_numerical': 0.006377551020408163, 'mean_word_length': 2.2172131147540983, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2631144', 'n_tokens_mistral': 281, 'n_tokens_neox': 273, 'n_words': 73}