summaryrefslogtreecommitdiff
path: root/docs/_templates
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-01-05 13:07:44 -0500
committerLance Stout <lancestout@gmail.com>2012-01-05 13:07:44 -0500
commitb345c227b213835d6c57d36dfd3143c208b7f8c4 (patch)
tree6ef384acec9cd65055ecf6c04941662f9e86b0e5 /docs/_templates
parentc7e95c8dec3ae38ad295f669bc7a1fc4d9630e7a (diff)
downloadslixmpp-b345c227b213835d6c57d36dfd3143c208b7f8c4.tar.gz
slixmpp-b345c227b213835d6c57d36dfd3143c208b7f8c4.tar.bz2
slixmpp-b345c227b213835d6c57d36dfd3143c208b7f8c4.tar.xz
slixmpp-b345c227b213835d6c57d36dfd3143c208b7f8c4.zip
More &yet branding
Diffstat (limited to 'docs/_templates')
-rw-r--r--docs/_templates/layout.html70
1 files changed, 70 insertions, 0 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
new file mode 100644
index 00000000..de6f7244
--- /dev/null
+++ b/docs/_templates/layout.html
@@ -0,0 +1,70 @@
+{#
+ haiku/layout.html
+ ~~~~~~~~~~~~~~~~~
+
+ Sphinx layout template for the haiku theme.
+
+ :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
+#}
+{% extends "basic/layout.html" %}
+{% set script_files = script_files + ['_static/theme_extras.js'] %}
+{% set css_files = css_files + ['_static/print.css'] %}
+
+{# do not display relbars #}
+{% block relbar1 %}{% endblock %}
+{% block relbar2 %}{% endblock %}
+
+{% macro nav() %}
+ <p>
+ {%- block haikurel1 %}
+ {%- endblock %}
+ {%- if prev %}
+ «&#160;&#160;<a href="{{ prev.link|e }}">{{ prev.title }}</a>
+ &#160;&#160;::&#160;&#160;
+ {%- endif %}
+ <a class="uplink" href="{{ pathto(master_doc) }}">{{ _('Contents') }}</a>
+ {%- if next %}
+ &#160;&#160;::&#160;&#160;
+ <a href="{{ next.link|e }}">{{ next.title }}</a>&#160;&#160;»
+ {%- endif %}
+ {%- block haikurel2 %}
+ {%- endblock %}
+ </p>
+{% endmacro %}
+
+{% block content %}
+ <div class="header">
+ {%- block haikuheader %}
+ {%- if theme_full_logo != "false" %}
+ <a href="{{ pathto('index') }}">
+ <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
+ </a>
+ {%- else %}
+ {%- if logo -%}
+ <img class="rightlogo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
+ {%- endif -%}
+ <h1 class="heading"><a href="{{ pathto('index') }}">
+ <span>{{ title|striptags }}</span></a></h1>
+ <h2 class="heading"><span>{{ shorttitle|e }}</span></h2>
+ {%- endif %}
+ {%- endblock %}
+ </div>
+ <div class="topnav">
+ {{ nav() }}
+ </div>
+ <div class="content">
+ {#{%- if display_toc %}
+ <div id="toc">
+ <h3>Table Of Contents</h3>
+ {{ toc }}
+ </div>
+ {%- endif %}#}
+ {% block body %}{% endblock %}
+ </div>
+ <div class="bottomnav">
+ {{ nav() }}
+ </div>
+ <a id="from_andyet" href="http://andyet.net"><h2>From &amp;yet</h2></a>
+{% endblock %}
+