Layout example

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
  <head>
    {% comment %}
    Just Django templates
    If you use base href the way it is show below, URL mapping will actually work
    {% endcomment %}
    
    <base href="{{base_href}}" />
    
    <title>{% block title %}{% endblock %}</title>
    
    {% comment %}
    Since we used base href, the following relative CSS URL will work
    {% endcomment %}
    <link rel="stylesheet" href="skins/default_skin/css/default_skin.css" 
          type="text/css" media="screen, projection"></link>
  </head>
  <body>
    <h1>Example site</h1>
    <hr />
    
    <div style="float:left; width: 20%;">
    {% comment %}
    The following shows how to use a Python construct in your template, 
    even if menu (an instance of the Menu class) is not passed in, 
    the template will not break
    {% endcomment %}
    {% if menu %}
    {{menu.view|safe}}
    {% endif %}
    </div>
    
    <div style="float:right; width: 80%;">
    {% comment %}
    This is how you include the template of a content type.
    By default the system looks for a template with the same name as the 
    method that was called.
    {% endcomment %}
    {% block content %}The content will be included here{% endblock %}
    </div> 
    
  </body>
</html>