<commit_before>extends base
block content
  block header
    header
      //- todo: split up titles with colons into h1 and h2
      time(pubdate, datetime=meta.date.calendar, title=meta.date.human)= meta.date.human
      h1= meta.title
      address.author
        - if (meta.language == 'nl')
          | geschreven door 
        - else
          | written by 
        - if (meta.author)
          - if (meta.author.name) { var author = meta.author.name; } else { var author = meta.author; }
          a(rel='author', href=meta.author.homepage, title=author)= author
          - if (meta.layout == 'translations')
            |  en vertaald door 
            a(rel='translator', href='http://stdout.be/en/about-me/', title='<NAME>') <NAME>
        - else
          a(rel='author', href='http://stdout.be/en/about-me/', title='<NAME>') <NAME>

  - if (meta.translation)
    div#article-translation.article-more
      hr
      p
        - if (meta.language == 'en')
          | Vertaald in het Nederlands: 
        - else
          | Translated into English: 
        a(href=meta.translation.link)= meta.translation.title 
      hr

  article(class=meta.layout)
    block article
      - if (meta.summary)
        summary#summary!= meta.summary
      - if (meta.context)
        p: em!= meta.context
      != content

    block share
      .article-more
        - if (meta.language == 'en')      
          h6 share on twitter
          - var tweet = meta.tweet || meta.title
          p.article-copy-paste #{tweet} !{stdout.shortlink.human} by !{stdout.me.twitter}
          hr
          p
            | <a href="/en/about-me/"><NAME></a> works at The Guardian in London. This blog is about computer code and the future of journalism. Stijn is !{stdout.me.twitter} on Twitter.
            - if (meta.related)
              | If you liked this, read 
              a(href=meta.related.link)= meta.related.title
              |  next.
        - else
          h6 delen op twitter
          - var tweet = meta.tweet || meta.title
          - var me = 
          p.article-copy-paste #{tweet} !{stdout.shortlink.human} door !{stdout.me.twitter}
          hr
          p
            | <a href="/nl/wie-ben-ik/"><NAME></a> werkt bij de Guardian in Londen. Deze blog handelt over programmeren en de toekomst van de journalistiek. Stijn is !{stdout.me.twitter} op Twitter.
            - if (meta.related)
              | Als je dit leuk vond, lees dan ook 
              a(href=meta.related.link)= meta.related.title

    block conversations
      #conversations.hide
        h4 Related conversations
        ul
          - each i in [1,2,3]
            li
              img(src='author-icon.jpg')
              img(src='author-icon.jpg')
              span Something of an unusual thing<commit_msg>Update post layout to reflect that I'm no longer at the Guardian.<commit_after>extends base
block content
  block header
    header
      //- todo: split up titles with colons into h1 and h2
      time(pubdate, datetime=meta.date.calendar, title=meta.date.human)= meta.date.human
      h1= meta.title
      address.author
        - if (meta.language == 'nl')
          | geschreven door 
        - else
          | written by 
        - if (meta.author)
          - if (meta.author.name) { var author = meta.author.name; } else { var author = meta.author; }
          a(rel='author', href=meta.author.homepage, title=author)= author
          - if (meta.layout == 'translations')
            |  en vertaald door 
            a(rel='translator', href='http://stdout.be/en/about-me/', title='<NAME>') <NAME>
        - else
          a(rel='author', href='http://stdout.be/en/about-me/', title='<NAME>') <NAME>

  - if (meta.translation)
    div#article-translation.article-more
      hr
      p
        - if (meta.language == 'en')
          | Vertaald in het Nederlands: 
        - else
          | Translated into English: 
        a(href=meta.translation.link)= meta.translation.title 
      hr

  article(class=meta.layout)
    block article
      - if (meta.summary)
        summary#summary!= meta.summary
      - if (meta.context)
        p: em!= meta.context
      != content

    block share
      .article-more
        - if (meta.language == 'en')      
          h6 share on twitter
          - var tweet = meta.tweet || meta.title
          p.article-copy-paste #{tweet} !{stdout.shortlink.human} by !{stdout.me.twitter}
          hr
          p
            | <a href="/en/about-me/"><NAME></a> wrotes about computer code and the future of journalism. He used to work at the Guardian and until recently at the Tow Center for Digital Journalism. Stijn is !{stdout.me.twitter} on Twitter.
            - if (meta.related)
              | If you liked this, read 
              a(href=meta.related.link)= meta.related.title
              |  next.
        - else
          h6 delen op twitter
          - var tweet = meta.tweet || meta.title
          - var me = 
          p.article-copy-paste #{tweet} !{stdout.shortlink.human} door !{stdout.me.twitter}
          hr
          p
            | <a href="/nl/wie-ben-ik/"><NAME></a> werkte vroeger voor de Guardian en tot voor kort bij het Tow Center for Digital Journalism. Deze blog handelt over programmeren en de toekomst van de journalistiek. Stijn is !{stdout.me.twitter} op Twitter.
            - if (meta.related)
              | Als je dit leuk vond, lees dan ook 
              a(href=meta.related.link)= meta.related.title
{'fraction_non_alphanumeric': 0.11774370208105148, 'fraction_numerical': 0.002555677254472435, 'mean_word_length': 1.8242268041237113, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '2611645', 'n_tokens_mistral': 1639, 'n_tokens_neox': 1598, 'n_words': 455}