summaryrefslogtreecommitdiff
path: root/docs/_themes/pylons/layout.html
diff options
context:
space:
mode:
authorBlaise Laflamme <blaise@laflamme.org>2010-10-31 14:30:07 -0400
committerBlaise Laflamme <blaise@laflamme.org>2010-10-31 14:30:07 -0400
commit957548026a0b8580fc867c595f278598779124f9 (patch)
treeb4cb324394cbbe84e61ae1d2ba9b2514926375ad /docs/_themes/pylons/layout.html
parent89c86defb2ed87ea7f3a189451aaa8ca25f27e52 (diff)
downloadpyramid-957548026a0b8580fc867c595f278598779124f9.tar.gz
pyramid-957548026a0b8580fc867c595f278598779124f9.tar.bz2
pyramid-957548026a0b8580fc867c595f278598779124f9.zip
Updated doc template as a theme - look at pylons_sphinx_theme
Diffstat (limited to 'docs/_themes/pylons/layout.html')
-rw-r--r--docs/_themes/pylons/layout.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/_themes/pylons/layout.html b/docs/_themes/pylons/layout.html
new file mode 100644
index 000000000..f3f00cf13
--- /dev/null
+++ b/docs/_themes/pylons/layout.html
@@ -0,0 +1,22 @@
+{% extends "basic/layout.html" %}
+
+{%- block extrahead %}
+{%- if not favicon %}
+<link rel="shortcut icon" href="{{ pathto('_static/favicon.ico', 1) }}"/>
+{%- endif %}
+{% endblock %}
+
+{%- block sidebarlogo %}
+<p class="logo">
+ <a href="{{ pathto(master_doc) }}">
+ <img class="logo" src="{{ pathto('_static/pylons.png', 1) }}" alt="Pylons Logo"/>
+ </a>
+</p>
+{%- if logo %}
+<p class="logo">
+ <a href="{{ pathto(master_doc) }}">
+ <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
+ </a>
+</p>
+{%- endif %}
+{%- endblock %} \ No newline at end of file