<commit_before>{% extends 'base.html' %}

{% block title %}{{ blog.title }}{% endblock title %}

{% block content %}
{% load filters %}
<h1>{{ blog.title }}
	<small>
		posted on {{ blog.date }} by {{ member }}
		{% load filters %}
		{% if user|can_edit_blogpost:blog %}
		<a href="{% url cms:edit_blog_url pk=member.pk blog_pk=blog.pk %}">edit</a>
		{% endif %}
	</small>
</h1>
<p><small>Tags: {{ blog.tags.all|join:", " }}</small></p>
<p>
	{{ blog.post|stripjs }}
</p>
{% endblock content %}
<commit_msg>show last edit date on blog view<commit_after>{% extends 'base.html' %}

{% block title %}{{ blog.title }}{% endblock title %}

{% block content %}
{% load filters %}
<h1>{{ blog.title }}
	<small>
		posted on {{ blog.date }} by {{ member }}
		{% ifnotequal blog.date|date:"d m y h:i:s" blog.edit_date|date:"d m y h:i:s" %}
		<br/>last edited on {{ blog.edit_date }}
		{% endifnotequal %}
		{% load filters %}
		{% if user|can_edit_blogpost:blog %}
		<a href="{% url cms:edit_blog_url pk=member.pk blog_pk=blog.pk %}">edit</a>
		{% endif %}
	</small>
</h1>
<p><small>Tags: {{ blog.tags.all|join:", " }}</small></p>
<p>
	{{ blog.post|stripjs }}
</p>
{% endblock content %}

{'fraction_non_alphanumeric': 0.23469387755102042, 'fraction_numerical': 0.003401360544217687, 'mean_word_length': 4.051502145922747, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 28, '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': '4725339', 'n_tokens_mistral': 508, 'n_tokens_neox': 451, 'n_words': 104}