layout/skeleton/_body.html @ 5c26a85d5e33

Switch back to index.html for listings.
author Steve Losh <steve@stevelosh.com>
date Wed, 16 Dec 2009 19:02:57 -0500
parents 81d4da7f81f5
children 637a1763479b
{% extends "skeleton/_base.html" %}
{% block title %}{{site.name}}{% endblock %}
{% block content %}
{% comment %}{% block breadcrumbs %}{% include "skeleton/_breadcrumbs.html"%}{% endblock %}{% endcomment %}
{% block nav %}
<div id="nav">
    <ul>
        <a href="{{site.listing_url}}">
        <li{% ifequal page.module site.module %} class="home-selected" {% endifequal %}>
            Home
        </li>
        </a>
        {% for module in site.children %}
        <a href="{{module.listing_url}}">
        <li{% ifequal page.module module %} class="selected" {% endifequal %}>
            {{module.name|unslugify}}
        </li>
        </a>
        {% endfor %}
    </ul>
</div>
{% endblock %}
{% block content_header %}{% ifnotequal page.module site.module %}<div class="article title"><h3>{{ page.title }}</h3></div>{% endifnotequal %}{% endblock %}
{% block content_body %}{% endblock %}
{% endblock %}