docs/.templates/markdoc-default/base.html @ 724156256017

Add more unit tests and refactor some existing ones.
author Steve Losh <steve@stevelosh.com>
date Fri, 27 Nov 2009 14:54:19 -0500
parents 2a8eea4463c3
children (none)
<?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="application/xhtml+xml; charset=UTF-8" />
    
    <title>
      {% if 'wiki-name' in config %}{{ config['wiki-name']|e }} ยป {% endif -%}
      {% block title %}{{ title }}{% endblock %}
    </title>
    
    {% import "macros/html" as html -%}
    
    {{ html.cssimport("/media/css/reset.css", document_root) }}
    {{ html.cssimport("/media/css/layout.css", document_root) }}
    {{ html.cssimport("/media/css/typography.css", document_root) }}
    {{ html.cssimport("/media/css/pygments.css", document_root) }}
  </head>
  
  <body>
    {% if crumbs %}
        <div id="breadcrumbs">
          <p>
              {% for name, href in crumbs %}
                {% if href == None %}
                  {{ name|e }}
                {% else %}
                  <a href="{{ document_root }}{{ href|e }}">{{ name|e }}</a>{% if loop.revindex0 %} &#187;{% endif %}
                {% endif %}
              {% endfor %}
          </p>
        </div> <!-- div#breadcrumbs -->
      {% endif %}
      
    <div id="content">
      
      {% block body %}
      {% endblock %}
    
    </div> <!-- div#content -->
    <div id="footer">
        <p>
            {% if 'wiki-name' in config %}
            {{ config['wiki-name']|e }} &mdash;
            {% endif %}
            Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
        </p>
    </div>
    
  </body>
</html>