doc/book/en/.templates/layout.html
changeset 2543 19103bdcab36
parent 303 ea6f0e833fbb
child 4142 ba6c316e3d9c
equal deleted inserted replaced
2542:d72115de4043 2543:19103bdcab36
     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     3   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     3   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     4 {%- endblock %}
     4 {%- endblock %}
     5 {%- set reldelim1 = reldelim1 is not defined and ' &raquo;' or reldelim1 %}
     5 {%- set reldelim1 = reldelim1 is not defined and ' &raquo;' or reldelim1 %}
     6 {%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
     6 {%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
     7 {%- macro relbar %}
     7 {%- macro relbar() %}
     8     <div class="related">
     8     <div class="related">
     9       <h3>Navigation</h3>
     9       <h3>Navigation</h3>
    10       <ul>
    10       <ul>
    11         {%- for rellink in rellinks %}
    11         {%- for rellink in rellinks %}
    12         <li class="right" {% if loop.first %}style="margin-right: 10px"{% endif %}>
    12         <li class="right" {% if loop.first %}style="margin-right: 10px"{% endif %}>
    22         {%- endfor %}
    22         {%- endfor %}
    23         {%- block relbaritems %}{% endblock %}
    23         {%- block relbaritems %}{% endblock %}
    24       </ul>
    24       </ul>
    25     </div>
    25     </div>
    26 {%- endmacro %}
    26 {%- endmacro %}
    27 {%- macro sidebar %}
    27 {%- macro sidebar() %}
    28       {%- if builder != 'htmlhelp' %}
    28       {%- if builder != 'htmlhelp' %}
    29       <div class="sphinxsidebar">
    29       <div class="sphinxsidebar">
    30         <div class="sphinxsidebarwrapper">
    30         <div class="sphinxsidebarwrapper">
    31           {%- block sidebarlogo %}
    31           {%- block sidebarlogo %}
    32           {%- if logo %}
    32           {%- if logo %}