<commit_before>//
   Created by youqingkui on 15/3/22.

extends layout

block content
  div#main.cf
    div.primary
      article.post
        header
          h2
            a(href='/note/' +  note.guid)= note.title
          .entry-meta
            span
              i.fa.fa-calendar &nbsp;
                = getLocalTime(note.created / 1000)

            if note.tags.length
              li.fa.fa-tags
                each t in note.tags
                  a.tag(href='/tag/' + t) &nbsp;
                    = t

            if getLocalTime(note.created / 1000) != getLocalTime(note.updated / 1000)
              span.count
                i.fa.fa-clock-o &nbsp;
                  = getLocalTime(note.updated/1000)

            //span.count
            //  i.fa.fa-book
            //  // fb:59815b34ea36246b7f25c9ceddd86eb2:visits
            //  | 2
              // /fb
        .entry!= note.content
        .ds-thread(data-thread-key='#{note.guid}', data-title='#{note.title}', data-url='note/' +  note.guid)
        script(type='text/javascript').
          var duoshuoQuery = {short_name:"youqingkui-me"};
          (function() { var ds = document.createElement('script'); ds.type = 'text/javascript';ds.async = true;
            ds.src = '//static.duoshuo.com/embed.js';ds.charset = 'UTF-8';
            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ds);
          })();



    include sider

block script
<commit_msg>add comment url<commit_after>//
   Created by youqingkui on 15/3/22.

extends layout

block content
  div#main.cf
    div.primary
      article.post
        header
          h2
            a(href='/note/' +  note.guid)= note.title
          .entry-meta
            span
              i.fa.fa-calendar &nbsp;
                = getLocalTime(note.created / 1000)

            if note.tags.length
              li.fa.fa-tags
                each t in note.tags
                  a.tag(href='/tag/' + t) &nbsp;
                    = t

            if getLocalTime(note.created / 1000) != getLocalTime(note.updated / 1000)
              span.count
                i.fa.fa-clock-o &nbsp;
                  = getLocalTime(note.updated/1000)

            //span.count
            //  i.fa.fa-book
            //  // fb:59815b34ea36246b7f25c9ceddd86eb2:visits
            //  | 2
              // /fb
        .entry!= note.content
        .ds-thread(data-thread-key='#{note.guid}', data-title='#{note.title}', data-url='youqingkui.me/note/' +  note.guid)
        script(type='text/javascript').
          var duoshuoQuery = {short_name:"youqingkui-me"};
          (function() { var ds = document.createElement('script'); ds.type = 'text/javascript';ds.async = true;
            ds.src = '//static.duoshuo.com/embed.js';ds.charset = 'UTF-8';
            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ds);
          })();



    include sider

block script

{'fraction_non_alphanumeric': 0.14026845637583893, 'fraction_numerical': 0.030201342281879196, 'mean_word_length': 1.5500427715996579, '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': '5583008', 'n_tokens_mistral': 1003, 'n_tokens_neox': 924, 'n_words': 152}