templates/projects/list.html @ 358d0b9cc0aa

Add an extra style for unbordered images.
author Steve Losh <steve@stevelosh.com>
date Sun, 30 Aug 2009 20:36:21 -0400
parents ae2856e8f8dc
children (none)
{% extends "projects/base.html" %}
{% load typogrify %}

{% block content %}
    <div id="projects-list">
        <div class="projects-list-entry">
            <h2 class="projects-list-entry-title">Programming</h2>
            <p class="projects-list-entry-snip">&nbsp;</p>
        </div>
        {% for project in programming %}
            <div class="projects-list-entry">
                <h2 class="projects-list-entry-title">
                    <a href="{{ project.get_absolute_url }}">
                        {{ project.name|typogrify }}
                    </a>
                </h2>
                <p class="projects-list-entry-snip">{{ project.snip|typogrify }}</p>
            </div>
        {% endfor %}
        
        <div class="projects-list-entry">
            <h2 class="projects-list-entry-title">&nbsp;</h2>
            <p class="projects-list-entry-snip">&nbsp;</p>
        </div>
        
        <div class="projects-list-entry">
            <h2 class="projects-list-entry-title">Photography</h2>
            <p class="projects-list-entry-snip">&nbsp;</p>
        </div>
        {% for project in photo %}
            <div class="projects-list-entry">
                <h2 class="projects-list-entry-title">
                    <a href="{{ project.get_absolute_url }}">
                        {{ project.name|typogrify }}
                    </a>
                </h2>
                <p class="projects-list-entry-snip">{{ project.snip|typogrify }}</p>
            </div>
        {% endfor %}
    </div>
{% endblock %}