<commit_before>---
action: 'cmscontent:blog'
template: main
protocol: all
published: true
name: 'Blog Post'
url: '/blog/:slug'
---

<!-- BLOG -->
<div class="wrapper">
    <img src="{{ post.featured_image.thumbnail(1000, 'auto')|default('http://placehold.it/1000x365') }}" width="1180" alt="{{ post.featured_image.alt }}"/>
    <em class="twelve columns">In {{ post.type }} | {{ post.published_on | date("F j, Y") }}</em> 
    {{ post.body | unescape }}
	<!-- BIO -->
	<div class="bio-container">
	    <img class="img-circle" src="{{ post.profile_image.thumbnail(252, 'auto')|default('http://placehold.it/100x100') }}" height="100" width="100"/>
	    <strong>{{ post.author_name }}</strong>
	    {{ post.user.getSocialLinks() }}
		<div class="author-bio">
			{{ post.user.user_bio|unescape }}
		</div>
	</div>
</div>





<commit_msg>display featured image and author bio image only if they exist<commit_after>---
action: 'cmscontent:blog'
template: main
protocol: all
published: true
name: 'Blog Post'
url: '/blog/:slug'
---

<!-- BLOG -->
<div class="wrapper">
    {% if post.featured_image %}
    	<img src="{{ post.featured_image.thumbnail(1000, 'auto')|default('http://placehold.it/1000x365') }}" width="1180" alt="{{ post.featured_image.alt }}"/>
    {% endif %}    
    <em class="twelve columns">In {{ post.type }} | {{ post.published_on | date("F j, Y") }}</em> 
    {{ post.body | unescape }}
	<!-- BIO -->
	<div class="bio-container">
	{% if post.profile_image %}
	    <img class="img-circle" src="{{ post.profile_image.thumbnail(252, 'auto')|default('http://placehold.it/100x100') }}" height="100" width="100"/>
	{% endif %}	    
	<strong>{{ post.author_name }}</strong>
	    {{ post.user.getSocialLinks() }}
		<div class="author-bio">
			{{ post.user.user_bio|unescape }}
		</div>
	</div>
</div>






{'fraction_non_alphanumeric': 0.22712238147739802, 'fraction_numerical': 0.03307607497243661, 'mean_word_length': 3.8143236074270557, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '4719846', 'n_tokens_mistral': 709, 'n_tokens_neox': 633, 'n_words': 126}