Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% extends "blog/base.html" %}
- {% load comments markup %}
- {% block title %}{{ post.title }}{% endblock %}
- {% block subtitle %}{{ post.title }}{% endblock %}
- {% block content %}
- <div class="post">
- <div class="entry">{{ post.content|markdown:"safe,codehilite" }}</div>
- <p>Posted on: <a href="{% url blog.archive_day post.pub_date|date:"Y" post.pub_date|date:"M"|lower post.pub_date|date:"d" %}">{{ post.pub_date|date:"Y M d" }}</a> {% if post.categorys %} in{% for tag in post.categorys %} <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% endfor %}.{% endif %}</p>
- </div>
- {% if post.enable_comments %}
- {% load comments %}
- <h3>Comments</h3>
- {% render_comment_list for post %}
- {% render_comment_form for post %}
- {% endif %}
- {% endblock %}
Add Comment
Please, Sign In to add comment