doc/book/en/standard_theme/layout.html
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 14 Apr 2010 16:57:55 +0200
branchstable
changeset 5258 9ff357e82e36
permissions -rw-r--r--
[doc/book] add a better standard theme

{% extends "basic/layout.html" %}

{% block header %}
<div class="header">
 <a href="http://www.cubicweb.org">
  <img alt="cubicweb logo" src="{{ pathto('_static/cubicweb.png', 1) }}"/>
 </a>
</div>
{% endblock %}

{# puts the sidebar into "sidebar1" block i.e. before the document body #}
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
{% block sidebar2 %}{% endblock %}