<commit_before>extends _layout

block body
  h1: a(href=document._source.url, target='_blank') #{document._source.title}
  if document._source.image
    p.flow-text: img.responsive-img(src=document._source.image, alt='')
  if document._source.description
    p.flow-text #{document._source.description}
  if document._source.embed
    - var embed = document._source.embed.replace(/[\\]*/g, '')
    .row!= embed<commit_msg>show details-page as a fullsize card<commit_after>extends _layout

block body
  .row
    .col.s12
      .card
        if document._source.image && imageNotBlank(document._source.image)
          .card-image
            a(href=document._source.url, target='_blank')
              img(src=document._source.image alt='')
              if document._type != 'message'
                span.card-title #{document._source.title}
        else if document._source.publicUrl
          .card-image
            a(href=document._source.publicUrl, target='_blank')
              img(src=document._source.publicUrl alt='')
              if document._type != 'message'
                span.card-title #{document._source.title}
        if document._type == 'media'
          if document._source.embed
            - var embed = document._source.embed.replace(/[\\]*/g, '')
            .card-media!= embed
        .card-date.grey-text.lighten-1 
          em: small #{moment(new Date(document._source.timestamp)).fromNow()} 
        .card-content.grey-text
          - if ((!document._source.image || !imageNotBlank(document._source.image)) && !document._source.publicUrl)
            if document._type != 'message' && document._type != 'media'
              a(href=document._source.url, target='_blank')
                span.card-title.grey-text.text-darken-4 #{document._source.title}
          if document._type == 'media'
            p.flow-text #{document._source.title}
          else if document._source.description
            - var description = document._source.description.replace(/\\n/g, '')
            p.flow-text!= description
        .card-action
          a.delete(href='#', data-id=document._id) Delete
          img.circle.datasource-img(width='26', height='26', src='/img/logo/#{document._source.datasource}.png', title='Source: #{document._source.datasource}')
{'fraction_non_alphanumeric': 0.14410862899693386, 'fraction_numerical': 0.003942181340341655, 'mean_word_length': 2.4345864661654137, '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': '457495', 'n_tokens_mistral': 663, 'n_tokens_neox': 646, 'n_words': 112}