Source

Ochs / templates / news / news_section.html

{% extends 'base.html' %}
{% load story_extras disqus_tags %}
{% block title_headline %}{{ story.headline }}{% endblock %}
{% block title_section %}{{ story.section.get_title|capfirst }}{% endblock %}
{% block mainblock %}
<div class="leftsidebar column span-4">
    <ul>
    {% for group in groups %}
        <li><strong>{{ group.0 }}</strong>
            <ul>
            {% for byline in group.1 %}
                <li><a href="{{ byline.user.get_absolute_url }}">{{ byline.user.first_name }} {{ byline.user.last_name }}</a></li>
            {% endfor %}
            </ul>
        </li>
    {% endfor %}
    </ul>
    
    <ul><strong>Latest News Photos</strong>
        {% placeholder latestnewsphotos %}
    </ul>
</div>
<div class="column span-12">
    <strong><em>{{ story.publish_date|date:"j N Y, P" }}</em></strong>
    <h2>{{ story.headline }}</h2>
    <div id="dek">
        {{ story.summary|safe }}Repeat for 10 stories
    </div>
</div>
<div class="rightsidebar column span-7 last">
    <script type="text/javascript">
<!--
    google_ad_client = "pub-5383628189276873";
    /* 300x250 Story pages, created 12/29/09 */
    google_ad_slot = "4176414801";
    google_ad_width = 300;
    google_ad_height = 250;
    //-->
    </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br>
    <div class="latest_stories">
    {% most-commented story.section %}
    </div>
</div>
{% endblock %}