<commit_before>---
layout: default
---

<article itemid="{{ page.url | prepend: site.baseurl | prepend: site.url }}"
         itemscope
         itemtype="http://schema.org/BlogPosting"
         class="post-content">
    <meta itemprop="inLanguage" content="en-US"/>
    <meta itemprop="description" content="{{ content | strip_html | truncatewords: 40 }}" />
    <header>
        <h1 itemprop="headline">{{ page.title }}</h1>
        <time itemprop="datePublished" content="{{ page.date | date: '%Y-%m-%d' }}" datetime="{{ page.date | date: '%Y-%m-%d' }}"><small>{{ page.date | date: "%b %-d, %Y" }}</small></time>
    </header>
    <div itemprop="articleBody">
        {{ content }}
    </div>
    <footer>
        <p>Written by <span itemprop="author"><NAME></span></p>
    </footer>
</article>
<commit_msg>Add better rich snippet support for blog posts<commit_after>---
layout: default
---

<article itemid="{{ page.url | prepend: site.baseurl | prepend: site.url }}"
         itemscope=""
         itemtype="http://schema.org/BlogPosting"
         class="post-content">
    <meta itemprop="image" content="https://s.gravatar.com/avatar/58e39d254d36d251391071682fe4dd8b?s=800">
    <meta itemprop="inLanguage" content="en-US"/>
    <meta itemprop="headline" content="{{ page.title }}"/>
    <meta itemprop="keywords" content="{{ page.tags | join: ',' }}" />
    <meta itemprop="description" content="{{ content | strip_html | truncatewords: 40 }}" />
    <header>
        <h1 itemprop="name">{{ page.title }}</h1>
        <time itemprop="datePublished" content="{{ page.date | date: '%Y-%m-%d' }}" datetime="{{ page.date | date: '%Y-%m-%d' }}"><small>{{ page.date | date: "%b %-d, %Y" }}</small></time>
    </header>
    <div itemprop="articleBody">
        {{ content }}
    </div>
    <footer>
        <p>Written by <span itemprop="author"><NAME></span></p>
    </footer>
</article>

{'fraction_non_alphanumeric': 0.21651667548967707, 'fraction_numerical': 0.017998941238750663, 'mean_word_length': 3.2663656884875847, 'pattern_counts': {'":': 0, '<': 48, '<?xml version=': 0, '>': 48, 'https://': 1, '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': '1964393', 'n_tokens_mistral': 645, 'n_tokens_neox': 616, 'n_words': 133}