doc/book/en/standard_theme/layout.html
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 23 Apr 2013 15:33:50 +0200
changeset 8900 010a59e12d89
parent 5258 9ff357e82e36
permissions -rw-r--r--
use cw_etype instead of __regid__ We have a clean public API now.

{% 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 %}