# HG changeset patch # User Bob Mourlam # Date 1320632560 21600 # Node ID 6b4e02b8be6bf834ad3db21a4cefc70db86627f7 # Parent 353ca3874f43c01985256e80e0d555980f89e0be I reformatted the news_list.html template to be valid html and look a little better. diff -r 353ca3874f43 -r 6b4e02b8be6b bns_website/static/css/base.css --- a/bns_website/static/css/base.css Sun Nov 06 20:22:07 2011 -0600 +++ b/bns_website/static/css/base.css Sun Nov 06 20:22:40 2011 -0600 @@ -1,4 +1,4 @@ -body { +body { padding-top: 40px } .social-sharing { @@ -12,3 +12,6 @@ display: inline-block; vertical-align: top; } +#article { + margin-bottom: 1.5em; +} \ No newline at end of file diff -r 353ca3874f43 -r 6b4e02b8be6b bns_website/templates/news/news_list.html --- a/bns_website/templates/news/news_list.html Sun Nov 06 20:22:07 2011 -0600 +++ b/bns_website/templates/news/news_list.html Sun Nov 06 20:22:40 2011 -0600 @@ -2,31 +2,16 @@ {% load core_tags %} {% block title %}News{% endblock %} -{% block custom_css %} - -{% endblock %} -{% block custom_js %} - - - -{% endblock %} - {% block content %} {% navbar 'news' %}

News

{% for news in object_list %} -
-

{{ news.title }} {% if news.is_new %}New{% endif %}

-
-
{{ news.content|linebreaksbr }}
-

{{news.date}}

-
-

+

{{ news.title }} {% if news.is_new %}New{% endif %}

+
{{ news.content }}
+ {{ news.date }} +
+ {% endfor %}