layout/skeleton/_base.html @ 95c935d55811

More structure changes.
author Steve Losh <steve@stevelosh.com>
date Wed, 16 Dec 2009 21:31:25 -0500
parents b2f55c835d06
children c657cf8e6286
{% extends "skeleton/_root.html" %}

{% block all %}
<?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>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        
        <title>{% block title %}{{ site.name }} / {{ page.title }}{% endblock %}</title>
        
        {% block feeds %}
            <link href="{{ site.url }}/blog/atom.xml"
                  rel="alternate" title="{{ site.name }}"
                  type="application/atom+xml" />
        {% endblock %}
        
        {% block css %}
            <link rel="stylesheet"
                  href="{{ site.url }}/media/css/base.css"
                  type="text/css" media="screen" charset="utf-8" />
            {% block extra_css %}{% endblock %}
        {% endblock %}
        
        {% block js %}
            <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
            {% block extra_js %}{% endblock %}
        {% endblock %}
    </head>
    
    <body>
        <div id="header">
            <a href="/">
                <h1>steve losh <span class="page-title">/ {{ page.title }}</span></h1>
            </a>
        </div>
        
        <div id="nav">
            <ul>
                <li><a href="/blog/">Blog</a></li>
                <li><a href="http://bitbucket.org/sjl/">Code</a></li>
                <li><a href="/projects">Projects</a></li>
                <li><a href="/about/">About</a></li>
                <li><a href="/rss/">RSS</a></li>
            </ul>
        </div>
        
        <div id="content">
            {% block content %}{% endblock %}
        </div>
    </body>
</html>
{% endblock %}