<commit_before>{% extends '__layout.tpl' %}

{% block title %}
  {{ post.title }}
{% endblock %}

{% block content %}
  <h1 class="text-center">{{ post.title }}</h1>
  <p>
    <span class="post-meta">
    Posted in
    <a href="{% url 'blog.views.category' post.category.slug %}">
      {{ post.category.name }}
    </a>,
    on
    <a href="{% url 'blog.views.archive' post.created|date:'Y' post.created|date:'m' %}">
      {{ post.created|date:'F j, Y' }}
    </a>
    </span>
  </p>
  <div class="post text-justify">
    {{ post.preview|safe}}
  </div>
  {% if posts %}
    <div class="related">
      <strong>Related Posts</strong>
      {% include '_blog-list.tpl' %}
    </div>
  {% endif %}
{% endblock %}<commit_msg>Add admin link to edit article<commit_after>{% extends '__layout.tpl' %}

{% block title %}
  {{ post.title }}
{% endblock %}

{% block content %}
  <h1 class="text-center">{{ post.title }}</h1>
  <p>
    <span class="post-meta">
    Posted in
    <a href="{% url 'blog.views.category' post.category.slug %}">
      {{ post.category.name }}
    </a>,
    on
    <a href="{% url 'blog.views.archive' post.created|date:'Y' post.created|date:'m' %}">
      {{ post.created|date:'F j, Y' }}
    </a>
    </span>
  </p>
  <div class="post text-justify">
    {{ post.preview|safe}}
  </div>
  {% if posts %}
    <div class="related">
      <strong>Related Posts</strong>
      {% include '_blog-list.tpl' %}
    </div>
  {% endif %}
  <div class="row">
    <a href="{% url 'admin:blog_post_change' post.id %}">
      [Edit this article]</a>
  </div>
{% endblock %}
{'fraction_non_alphanumeric': 0.22376738305941846, 'fraction_numerical': 0.0025284450063211127, 'mean_word_length': 2.7961630695443644, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '1168633', 'n_tokens_mistral': 615, 'n_tokens_neox': 574, 'n_words': 124}