Now loading code_chunks module in template that needs it

Without this, the filters defined there cannot be used
This commit is contained in:
Gergely Polonkai 2014-06-14 12:17:08 +02:00
parent 52462db6f8
commit 3b485aaebc
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
{% load code_chunks %}
<div class="post">
<h3>{% if title_links %}<a href="{% url 'blog:read' post.created_at.year post.created_at.month post.created_at.day post.slug %}">{% endif %}{{ post.title }}{% if title_links %}</a>{% else %}<div class="plusone-container"><div class="g-plusone" data-annotation="inline" data-size="small" data-width="300"></div></div>{% endif %}</h3>
<p class="article-date">{{ post.created_at|date:'m-d-Y :: H:i' }} by {{ post.user.first_name }} {{ post.user.last_name }}</p>