{% 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 %}

{% 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 %}

Add admin link to edit article
Add admin link to edit article
