layout/skeleton/_body.html @ 26eca19cae3b
Start reworking the layout.
| author | Steve Losh <steve@stevelosh.com> |
|---|---|
| date | Wed, 16 Dec 2009 20:05:12 -0500 |
| parents | b2f55c835d06 |
| 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 %}