layout/skeleton/_body.html @ b2f55c835d06

More cleanup.
author Steve Losh <steve@stevelosh.com>
date Wed, 16 Dec 2009 19:56:37 -0500
parents 673df76b12d6
children 95c935d55811
{% extends "skeleton/_base.html" %}

{% block title %}{{site.name}} / {{ page.title }}{% endblock %}

{% block content %}    
    {% 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 %}