docs/.templates/markdoc-default/base.html @ f6008f722974
Prevent {update} from crashing in empty repos.
author |
Steve Losh <steve@stevelosh.com> |
date |
Mon, 30 Nov 2009 20:25:43 -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 %} »{% 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>