aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAditi <aditi.iitr@gmail.com>2013-08-05 17:29:12 +0530
committerAditi <aditi.iitr@gmail.com>2013-08-05 17:29:12 +0530
commit46d9e44ace20763e3803136a4d3d25529eb4edc7 (patch)
tree7ee6f3a9d9a8f0517392a94cae2eee65e2a99dd3
parent43d143cd663453efd6f665e38c5c473a47ef7b8c (diff)
downloadmediagoblin-46d9e44ace20763e3803136a4d3d25529eb4edc7.tar.lz
mediagoblin-46d9e44ace20763e3803136a4d3d25529eb4edc7.tar.xz
mediagoblin-46d9e44ace20763e3803136a4d3d25529eb4edc7.zip
New elements added for the styling of blog post listing view.
-rw-r--r--mediagoblin/templates/mediagoblin/blog/blog_post_listing.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/mediagoblin/templates/mediagoblin/blog/blog_post_listing.html b/mediagoblin/templates/mediagoblin/blog/blog_post_listing.html
index 46922de3..a1c35393 100644
--- a/mediagoblin/templates/mediagoblin/blog/blog_post_listing.html
+++ b/mediagoblin/templates/mediagoblin/blog/blog_post_listing.html
@@ -22,13 +22,12 @@
{% block title -%}
{% trans %}{{ blog_owner }} 's Blog{% endtrans %} &mdash; {{ super() }}
{%- endblock %}
-
{% block mediagoblin_content %}
- <div> <h1> {{ blog_owner }} 's Blog </h1></div>
+ <div class="b_list_owner"> <h1> {{ blog_owner }} 's Blog </h1></div>
<div>
{% for post in blog_posts[0:9] %}
- <div> <h2> {{ post.title }} </h2> </div>
- <div> <h3> {{ post.description }} </h3></div>
+ <div class="b_listing_title"><a href="{{ post.url_for_self(request.urlgen) }}"><h2>{{ post.title }}</h2></a></div>
+ <div class="b_list_des"> <p>{{ post.description|safe }} </p></div>
{% endfor %}
</div>
{% endblock %}