doc/book/en/standard_theme/layout.html
author Florent Cayré <florent.cayre@logilab.fr>
Wed, 18 Apr 2012 12:01:31 +0200
changeset 8389 94f26e3b09bf
parent 5258 9ff357e82e36
permissions -rw-r--r--
fix static file serving when url has parameters (like cache busters do)

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