layout/skeleton/_categorylisting.html @ 712f14a1a1cd
Add timeago.js to generate "ago" dates on the fly.
author |
Steve Losh <steve@stevelosh.com> |
date |
Tue, 02 Feb 2010 20:46:15 -0500 |
parents |
08d7552b6237 |
children |
(none) |
{% extends "skeleton/_base.html"%}
{% block extra_title %}{{ page.category|capfirst }} / {% endblock %}
{% block extra_header %} / {{ page.category }}{% endblock %}
{% block content %}
<div id="section-listing">
<ol>
{% with page.node.ancestors|last as cat_root_node %}
{% for cat_name, cat in cat_root_node.categories.items %}
{% ifequal cat_name page.category %}
{% for list_page in cat.posts|dictsortreversed:"created" %}
{% if not list_page.exclude %}
{% include "skeleton/_listingitem.html" %}
{% endif %}
{% endfor %}
{% endifequal %}
{% endfor %}
{% endwith %}
</ol>
</div>
{% endblock %}