show entire doc index in left sidebar on the documentation home page

This commit is contained in:
Tim Gerla 2013-06-09 11:04:16 -07:00
parent 92dce671bb
commit b3e0071635

View file

@ -13,8 +13,11 @@ get_header();
<div id="left-sidebar" class="span3 sidebar">
<div class="side-nav sidebar-block left-side-nav">
<ul><li><a href="/docs/"><strong>Documentation Home</strong></a></li></ul>
{% if title == "Ansible Documentation Index" %}
{{ toctree(maxdepth=1) }}
{% else %}
{{ toc }}
{% endif %}
<hr />
<div class="qsButton pagination-centered" />
<a href="/quickstart"><button class="btn btn-primary" type="button">Quick Start Video</button></a>