<commit_before>section.app-content
  article.proposal

    .meta-information
      a.meta-item.meta-location(href="#") Buenos Aires, Argentina
      //- small.meta-item.meta-timeago 10 days left

    span.proposal-type.flaticon.solid.government-1       

    h2=proposal.mediaTitle
    h4
      span.label.label-default(style="background:#{proposal.tag.color}")= proposal.tag.name
      span.label.label-default= proposal.title
    p.summary=proposal.summary
      
    //- .voting-process
      //- span.

    //- TODO: improve this!
    - var content = proposal.essay ? proposal.essay : proposal.content
    - var lines = content.split('\n');
    - each line in lines
      - if (line.trim())
        p!= line.trim()
    .links
      p
        span.glyphicon.glyphicon-link
        a(target="_blank", href="https://s3.amazonaws.com/osky-1234/#{proposal.lawId.replace('/','-')}.doc")
         | #{t('View the original text')}
    
    .participants
      - if(proposal.participants) {
        - var plural = 1 === proposal.participants.length ? '' : 's'
        span #{proposal.participants.length} #{t('Participant')}#{plural}
        - each participant in proposal.participants
          a.participant-profile(href="javascript:void();", title=participant.fullName)
            img.avatar(src=participant.avatar)
      - }

    //- .share-links
    //-   a(target="_blank", href="http://www.facebook.com/sharer.php?u=http://democraciaos.partidodelared.org/law/#{proposal.id}").flaticon.social.facebook  
    //-   a(target="_blank", href="http://twitter.com/share?text=DefaultTextWeWillShowInTwitter&url=http://democraciaos.partidodelared.org/law/#{proposal.id}").flaticon.social.twitter  
    //-   a(target="_blank", href="https://plus.google.com/share?url=http://democraciaos.partidodelared.org/law/#{proposal.id}").flaticon.social.google-plus <commit_msg>[article] - Metatags for TT and FB<commit_after>section.app-content
  article.proposal
    // Facebook metatags
    meta(property='og:title', content='#{proposal.mediaTitle}')
    meta(property='og:type', content='website')
    meta(property='og:url', content='http://democraciaos.partidodelared.org/law/#{proposal.id}')
    meta(property='og:image', content='http://s3.amazonaws.com/pdr-mediawiki/images/8/84/Pdr_200x200.png')
    meta(property='og:site_name', content='Partido de la Red')
    meta(property='og:description', content='#{proposal.summary}')
    // Twitter metatags
    meta(name='twitter:card', content='summary')
    meta(name='twitter:site', content='@PartidodelaRed')
    meta(name='twitter:title', content='#{proposal.mediaTitle}')
    meta(name='twitter:description', content='#{proposal.summary}')
    meta(name='twitter:image:src', content='http://s3.amazonaws.com/pdr-mediawiki/images/8/84/Pdr_200x200.png')
    meta(name='twitter:domain', content='partidodelared.org')

    .meta-information
      a.meta-item.meta-location(href="#") Buenos Aires, Argentina
      //- small.meta-item.meta-timeago 10 days left

    span.proposal-type.flaticon.solid.government-1       

    h2=proposal.mediaTitle
    h4
      span.label.label-default(style="background:#{proposal.tag.color}")= proposal.tag.name
      span.label.label-default= proposal.title
    p.summary=proposal.summary
      
    //- .voting-process
      //- span.

    //- TODO: improve this!
    - var content = proposal.essay ? proposal.essay : proposal.content
    - var lines = content.split('\n');
    - each line in lines
      - if (line.trim())
        p!= line.trim()
    .links
      p
        span.glyphicon.glyphicon-link
        a(target="_blank", href="https://s3.amazonaws.com/osky-1234/#{proposal.lawId.replace('/','-')}.doc")
         | #{t('View the original text')}
    
    .participants
      - if(proposal.participants) {
        - var plural = 1 === proposal.participants.length ? '' : 's'
        span #{proposal.participants.length} #{t('Participant')}#{plural}
        - each participant in proposal.participants
          a.participant-profile(href="javascript:void();", title=participant.fullName)
            img.avatar(src=participant.avatar)
      - }

    .share-links
      a(target="_blank", href="http://www.facebook.com/sharer.php?u=http://democraciaos.partidodelared.org/law/#{proposal.id}").flaticon.social.facebook  
      a(target="_blank", href="http://twitter.com/share?text=#{proposal.mediaTitle}&url=http://democraciaos.partidodelared.org/law/#{proposal.id}").flaticon.social.twitter  
      a(target="_blank", href="https://plus.google.com/share?url=http://democraciaos.partidodelared.org/law/#{proposal.id}").flaticon.social.google-plus 
{'fraction_non_alphanumeric': 0.17224983790793172, 'fraction_numerical': 0.009077155824508321, 'mean_word_length': 3.2458715596330276, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2210828', 'n_tokens_mistral': 1565, 'n_tokens_neox': 1507, 'n_words': 182}