New elements added for the styling of blog post listing view.
authorAditi <aditi.iitr@gmail.com>
Mon, 5 Aug 2013 11:59:12 +0000 (17:29 +0530)
committerAditi <aditi.iitr@gmail.com>
Mon, 5 Aug 2013 11:59:12 +0000 (17:29 +0530)
mediagoblin/templates/mediagoblin/blog/blog_post_listing.html

index 46922de32395c6b5522e029b69c7f1ae576c3959..a1c35393659f767a09dbd38acfe80e508307ba24 100644 (file)
 {% 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 %}