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

- Add |anyapplied, |anyunapplied, |anycount, and |nondefault filters.
- |anyapplied, |anyunapplied, |anycount, are filters to patch and when applied will make
 change the behavior so that if no patches are present then nothing will be printed
- |nondefault is a filter for branch that will stop anything being printed if the branch
 is the default one.  So only non-default branches are printed.
author Jason Harris <jasonh@wolfram.com>
date Fri, 27 Nov 2009 13:24:49 +0100
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>