1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-27 07:03:55 +00:00
Ismael Carnales a5b609ac5f moved blog templates to backup folder
--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40571
2008-12-29 16:13:19 +00:00

35 lines
1.0 KiB
HTML

{% extends "base_weblog.html" %}
{% block title %}Weblog | {{ object.headline|escape }}{% endblock %}
{% block main-content %}
<h2>{{ object.headline }}</h2>
{{ object.body }}
<p class="date small">Posted by <strong>{{ object.author }}</strong> on {{ object.pub_date|date:"F j, Y" }}</p>
{% comment %}
{% load comments comment_utils %}
{% get_public_free_comment_list for blog.entry object.id as comment_list %}
<div id="content-secondary">
<h2 id="comments">Comments</h2>
{% for comment in comment_list %}
<div class="comment" id="c{{ comment.id }}">
<h3>{{ comment.person_name|escape }} <span class="small quiet">{{ comment.submit_date|date:"F j, Y" }} at {{ comment.submit_date|date:"P" }}</span></h3>
{{ comment.comment|escape|urlizetrunc:"40"|linebreaks }}
</div>
{% endfor %}
{% if object.comments_enabled %}
<h2>Post a comment</h2>
{% free_comment_form for blog.entry object.id %}
{% else %}
<h2>Comments are closed</h2>
<p>To prevent spam, comments are no longer allowed after sixty days.</p>
{% endif %}
</div>
{% endcomment %}
{% endblock %}