<commit_before>.top_half
  .top
    .logo
    .close
      %a{:href => "#"}
        = image_tag 'close.png'
  .content
    .title
      %img#printlogo{:align => "left", :src => "/assets/header_vlogo.png"}
        %ul
          %li
            - unless post.item.category.blank?
              = link_to post.item.category.name, post.item.category
          %li
            \.
            - unless post.item.author.blank?
              = link_to post.item.author.name, '/contributors'
          %li
            \.#{post.item.title}
          %li
            \.#{post.item.created_at.strftime("%m%d%y")}
.bottom_half
  %p#printslug.style1
    %br{:clear => "all"}/
    %Br/
    = post.item.slug
  = render :partial => 'shared/' + post.item.class.to_s.downcase, :locals => { :item => post.item }
  .keywords
    %h4
    %ul
      = raw post.item.tag_list.collect{|x| '<li>'+ link_to(x, {:controller => '/posts', :action => 'tag', :id => x})}.join(', ')+'</li>'
  .share
    %h4
    %ul
      %li
        %a{:href => "javascript:location.href='http://www.facebook.com/sharer.php?u='+escape('http://www.version.org/#{post.item.class.to_s.downcase}s/#{post.item.id}')+'&t='+escape('#{post.item.title}:#{post.item.slug}')"}
          %img{:src => "/assets/logos/share/facebook.png", :target => "_blank", :title => "Click to post this to Facebook"} facebook
      %li
        %a{:href => "http://twitter.com/home?status=Currently reading: http://www.version.org/#{post.item.class.to_s.downcase}s/#{post.item.id}&title='#{post.item.title}", :target => "_blank", :title => "Click to post this to Twitter"}
          = image_tag '/assets/logos/share/twitter.png'
          twitter
      %li
        %a{:href => "http://del.icio.us/post?url=http://www.version.org/#{post.item.class.to_s.downcase}s/#{post.item.id}&title='#{post.item.title}'"}
          = image_tag '/assets/logos/share/delicious.png'
          del.icio.us
      %li{:onclick => "Effect.Appear('emailpopup')"}
        %img{:src => "/assets/logos/share/mail.png"} email
      %li
        %a{:href => "#", :onclick => "window.print();return false;"}
          %img{:src => "/assets/logos/share/print.png"} print
      %li
        = link_to @post.permalink do
          = image_tag('/assets/logos/share/direct_link.png')
          direct link
  #emailpopup.email{:style => "float: right; display: none"}
    = render :partial => 'layouts/email'<commit_msg>back to assets in pathname<commit_after>.top_half
  .top
    .logo
    .close
      %a{:href => "#"}
        = image_tag 'close.png'
  .content
    .title
      %img#printlogo{:align => "left", :src => "/images/header_vlogo.png"}
        %ul
          %li
            - unless post.item.category.blank?
              = link_to post.item.category.name, post.item.category
          %li
            \.
            - unless post.item.author.blank?
              = link_to post.item.author.name, '/contributors'
          %li
            \.#{post.item.title}
          %li
            \.#{post.item.created_at.strftime("%m%d%y")}
.bottom_half
  %p#printslug.style1
    %br{:clear => "all"}/
    %Br/
    = post.item.slug
  = render :partial => 'shared/' + post.item.class.to_s.downcase, :locals => { :item => post.item }
  .keywords
    %h4
    %ul
      = raw post.item.tag_list.collect{|x| '<li>'+ link_to(x, {:controller => '/posts', :action => 'tag', :id => x})}.join(', ')+'</li>'
  .share
    %h4
    %ul
      %li
        %a{:href => "javascript:location.href='http://www.facebook.com/sharer.php?u='+escape('http://www.version.org/#{post.item.class.to_s.downcase}s/#{post.item.id}')+'&t='+escape('#{post.item.title}:#{post.item.slug}')"}
          %img{:src => "/images/logos/share/facebook.png", :target => "_blank", :title => "Click to post this to Facebook"} facebook
      %li
        %a{:href => "http://twitter.com/home?status=Currently reading: http://www.version.org/#{post.item.class.to_s.downcase}s/#{post.item.id}&title='#{post.item.title}", :target => "_blank", :title => "Click to post this to Twitter"}
          = image_tag '/images/logos/share/twitter.png'
          twitter
      %li
        %a{:href => "http://del.icio.us/post?url=http://www.version.org/#{post.item.class.to_s.downcase}s/#{post.item.id}&title='#{post.item.title}'"}
          = image_tag '/images/logos/share/delicious.png'
          del.icio.us
      %li{:onclick => "Effect.Appear('emailpopup')"}
        %img{:src => "/images/logos/share/mail.png"} email
      %li
        %a{:href => "#", :onclick => "window.print();return false;"}
          %img{:src => "/images/logos/share/print.png"} print
      %li
        = link_to @post.permalink do
          = image_tag('/images/logos/share/direct_link.png')
          direct link
  #emailpopup.email{:style => "float: right; display: none"}
    = render :partial => 'layouts/email'
{'fraction_non_alphanumeric': 0.20352331606217616, 'fraction_numerical': 0.001243523316062176, 'mean_word_length': 2.3961998592540463, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7197146', 'n_tokens_mistral': 1706, 'n_tokens_neox': 1699, 'n_words': 255}