<commit_before>---
layout: default
comments: true
---
{% assign author = site.authors[page.author] %}

<h2>{{ page.title }}</h2>
<div class="author">
    <img src="http://www.gravatar.com/avatar/{{ author.gravatar }}?s=40">
    <p>
      by <a href="{{ author.github }}">{{ author.name }}</a> <br />
      {{ page.date | date_to_string }}
    </p>
</div>

<div class="post">
  {{ content }}
</div>

{{ if page.comments }}
  <div id="disqus_thread"></div>
  <script type="text/javascript">
      var disqus_shortname = 'defactodev';
      (function() {
          var dsq = document.createElement('script');
          dsq.type = 'text/javascript'; dsq.async = true;
          dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
          (document.getElementsByTagName('head')[0] ||
            document.getElementsByTagName('body')[0]).appendChild(dsq);
      })();
  </script>
  <noscript>
    Please enable JavaScript to view the
    <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a>
    </noscript>
  <a href="http://disqus.com" class="dsq-brlink">
    comments powered by <span class="logo-disqus">Disqus</span>
  </a>
{{ endif }}<commit_msg>feat(postLayout): fix github link and add links to twitter and email.<commit_after>--- 
layout: default 
comments: true 
--- 
{% assign author = site.authors[page.author] %}

<h2>{{ page.title }}</h2>
<div class="author">
    <img src="http://www.gravatar.com/avatar/{{ author.gravatar }}?s=40">
    <p style="margin-left:50px;">
        by <a href={% if author.github %}"http://github.com/{{ author.github }}" {% else %} "http://github.com/DefactoSoftware" {% endif %}>{{ author.name }}</a> on <a>{{ page.date | date_to_string }}</a>
        <br />
        {% if author.twitter %} Twitter: <a href="https://twitter.com/#!/{{ author.twitter }}">@{{ author.twitter }}</a> <br />{% endif %}
        {% if author.email%} Email: <a href="mailto:{{ author.email }}">{{ author.email }}</a>{% endif %}
        <br />
    </p>
</div>

<div class="post">
    {{ content }}
</div>

{{ if page.comments }}
<div id="disqus_thread"></div>
<script type="text/javascript">
    var disqus_shortname = 'defactodev';
    (function() {
        var dsq = document.createElement('script');
        dsq.type = 'text/javascript';
        dsq.async = true;
        dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
        (document.getElementsByTagName('head')[0] ||
            document.getElementsByTagName('body')[0]).appendChild(dsq);
    })();
</script>
<noscript>
    Please enable JavaScript to view the
    <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a>
</noscript>
<a href="http://disqus.com" class="dsq-brlink">
    comments powered by <span class="logo-disqus">Disqus</span>
  </a>
{{ endif }}
{'fraction_non_alphanumeric': 0.21037567084078712, 'fraction_numerical': 0.005008944543828265, 'mean_word_length': 3.179372197309417, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, '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': '5478868', 'n_tokens_mistral': 997, 'n_tokens_neox': 963, 'n_words': 198}