From 512149b429733c8a42656cdacfb412e3856a8fe7 Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Wed, 14 Jul 2010 19:34:34 +0530 Subject: Removed blog templates. --- project/templates/blog/post_detail.html | 77 --------------------------------- project/templates/blog/post_list.html | 35 --------------- 2 files changed, 112 deletions(-) delete mode 100644 project/templates/blog/post_detail.html delete mode 100644 project/templates/blog/post_list.html (limited to 'project/templates/blog') diff --git a/project/templates/blog/post_detail.html b/project/templates/blog/post_detail.html deleted file mode 100644 index 7bd3588..0000000 --- a/project/templates/blog/post_detail.html +++ /dev/null @@ -1,77 +0,0 @@ -{% extends "blog/base_blog.html" %} - - -{% block title %}{{ object.title }}{% endblock %} -{% block body_class %}{{ block.super }} post_detail{% endblock %} -{% block body_id %}post_{{ object.id }}{% endblock %} - - -{% block content_title %} -

{{ object.title }}

- -{% endblock %} - - -{% block content %} - {% load blog markup comments tagging_tags %} - -

{{ object.title }}

-

{{ object.publish|date:"j F Y" }}

- -
- {{ object.body|markdown:"safe" }} -
- - {% tags_for_object object as tag_list %} - {% if tag_list %} -

Related tags: - {% for tag in tag_list %} - {{ tag }}{% if not forloop.last %}, {% endif %} - {% endfor %} -

- {% endif %} - - {% get_comment_list for object as comment_list %} - {% if comment_list %} -
- -

Comments

- {% for comment in comment_list %} - {% if comment.is_public %} -
-
- {{ forloop.counter }} - {% if comment.user_url %}{{ comment.user_name }}{% else %}{{ comment.user_name }}{% endif %} says... -
- {{ comment.comment|urlizetrunc:"60"|markdown:"safe" }} -

Posted at {{ comment.submit_date|date:"P" }} on {{ comment.submit_date|date:"F j, Y" }}

-
- {% endif %} - {% endfor %} -
- {% endif %} - {% if user.is_authenticated %} - {% if object.allow_comments %} -
- {% render_comment_form for object %} -
- {% else %} -
-

Comments are closed.

-

Comments have been close for this post.

-
- {% endif %} - {% else %} -
-

Comments are closed.

-

Please login in to comment.

-
- {% endif %} -{% endblock %} diff --git a/project/templates/blog/post_list.html b/project/templates/blog/post_list.html deleted file mode 100644 index b536f47..0000000 --- a/project/templates/blog/post_list.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "blog/base_blog.html" %} - - -{% block title %}{% endblock %} -{% block body_class %}{{ block.super }} post_list{% endblock %} - - -{% block content_title %} -

Post archive

-{% endblock %} - - -{% block content %} -
- {% for post in object_list %} -
-

{{ post.title }}

-

{{ post.publish|date:"Y F d" }}

-

{{ post.tease }}

-
- {% endfor %} -
- - {% if is_paginated %} -

- {% if has_next %} - Older - {% endif %} - {% if has_next and has_previous %} | {% endif %} - {% if has_previous %} - Newer - {% endif %} -

- {% endif %} -{% endblock %} -- cgit