templates/projects/list.html @ dbf5fe560ec3
Add the snip functions and use them for the admin.
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 22 Aug 2009 10:17:28 -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"> </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 %}