docs/.templates/markdoc-default/base.html @ 2a8eea4463c3
Add some styles for the docs.
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 19 Nov 2009 22:51:34 -0500 |
parents |
(none) |
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 %} »{% 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 }} —
{% endif %}
Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>.
</p>
</div>
</body>
</html>