mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Fix typo & readjust sidebars
This commit is contained in:
Vendored
+50
@@ -41,6 +41,56 @@
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{# From: https://github.com/bitprophet/alabaster/blob/5f249677242be96601e034edb3697b7482a6abcf/alabaster/layout.html #}
|
||||
{# Nav should appear before content, not after #}
|
||||
{%- block content %}
|
||||
{%- if theme_fixed_sidebar|lower == 'true' %}
|
||||
<div class="document">
|
||||
{{ sidebar() }}
|
||||
{%- block document %}
|
||||
<div class="documentwrapper">
|
||||
{%- if render_sidebar %}
|
||||
<div class="bodywrapper">
|
||||
{%- endif %}
|
||||
|
||||
{%- block relbar_top %}
|
||||
{%- if theme_show_relbar_top|tobool %}
|
||||
<div class="related top">
|
||||
|
||||
{{- rellink_markup () }}
|
||||
</div>
|
||||
{%- endif %}
|
||||
{% endblock %}
|
||||
|
||||
<div class="body" role="main">
|
||||
<div style="display:block;position:relative; margin-bottom: 1em;">
|
||||
<div style="display:block;width:100%;padding-top:12.5%;"></div>
|
||||
<div class="rpad" data-unit="8x1" style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;"></div>
|
||||
</div>
|
||||
{% block body %} {% endblock %}
|
||||
</div>
|
||||
|
||||
{%- block relbar_bottom %}
|
||||
{%- if theme_show_relbar_bottom|tobool %}
|
||||
<div class="related bottom">
|
||||
|
||||
{{- rellink_markup () }}
|
||||
</div>
|
||||
{%- endif %}
|
||||
{% endblock %}
|
||||
|
||||
{%- if render_sidebar %}
|
||||
</div>
|
||||
{%- endif %}
|
||||
</div>
|
||||
{%- endblock %}
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
{%- else %}
|
||||
{{ super() }}
|
||||
{%- endif %}
|
||||
{%- endblock %}
|
||||
|
||||
{%- block footer %}
|
||||
<div class="footer">
|
||||
<div class="bodywrapper" style="display:block;position:relative;">
|
||||
|
||||
Reference in New Issue
Block a user