templates/projects/list.html @ ae2856e8f8dc
Split the projects by type really fast. This can be done better.
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 21 Aug 2009 18:29:07 -0400 |
parents |
ee7c7ef51fdb |
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"> </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"> </h2>
<p class="projects-list-entry-snip"> </p>
</div>
<div class="projects-list-entry">
<h2 class="projects-list-entry-title">Photography</h2>
<p class="projects-list-entry-snip"> </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 %}