Source

django-in-a-box / docs / _templates / document.html

Full commit
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <title>
      Django-in-a-Box Documentation :: {{ title }}
    </title>
    
    {%- import "macros/html" as html -%}
    
    {{ html.cssimport("http://yui.yahooapis.com/2.7.0/build/reset/reset-min.css") }}
    {{ html.cssimport("/media/css/layout.css") }}
    {{ html.cssimport("/media/css/typography.css") }}
    {{ html.cssimport("/media/css/pygments.css") }}
  </head>
  
  <body>
    <div id="content">
    
      <div id="breadcrumbs">
        <p>
          {% if crumbs %}
            {% if crumbs|length >= 1 %}
              <a href="/">index</a> &#187;
            {% endif %}
            
            {% for crumb in crumbs[:-1] %}
              <a href="/{{ '/'.join(crumbs[:loop.revindex]) | escape }}">{{ crumb | escape }}</a> &#187;
            {% endfor %}
            
            {{ crumbs[-1].rsplit('.', 1)[0] | escape }}
          {% else %}
          index
          {% endif %}
        </p>
      </div>
      
      {{ content }}
      
      <p id="footer">
        <a href="http://code.zacharyvoase.com/django-in-a-box">Django-in-a-Box</a>
      </p>
    </div>
  </body>
</html>