aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mediagoblin/templates/mediagoblin/blog/blog_post_listing.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/mediagoblin/templates/mediagoblin/blog/blog_post_listing.html b/mediagoblin/templates/mediagoblin/blog/blog_post_listing.html
index 3cf60029..a3094b31 100644
--- a/mediagoblin/templates/mediagoblin/blog/blog_post_listing.html
+++ b/mediagoblin/templates/mediagoblin/blog/blog_post_listing.html
@@ -22,12 +22,28 @@
{% block title -%}
{% trans %}{{ blog_owner }} 's Blog{% endtrans %} — {{ super() }}
{%- endblock %}
+
+{% block mediagoblin_head -%}
+ <style type="text/css">
+ h3 {margin = 0; padding = 0;
+ font-size=.7 em;}
+
+ </style>
+{%- endblock %}
+
+
+
{% block mediagoblin_content %}
<div class="b_list_owner"> <h1><font color="black"> {{ blog_owner }} 's Blog</font></h1></div>
<div>
{% for post in blog_posts[0:9] %}
- <div class="b_listing_title"><a href="{{ post.url_for_self(request.urlgen) }}"><h2><font color="black">{{ post.title }}</font></h2></a></div>
+ <div class="b_listing_title"><a href="{{ post.url_for_self(request.urlgen) }}">
+ <h2><font color="black">{{ post.title }}</font></h2></a>
+ </div>
+ <h3>{{ post.created.strftime("%d %b, %Y") }}</h3>
+
<div class="b_list_des"> <p>{{ post.description|safe }} </p></div>
+
{% endfor %}
</div>
{% endblock %}