Render doc list in index page html for search engines

pull/90/head
Thibaut 11 years ago
parent b3fb0b0edf
commit 448cdc52bb

@ -17,7 +17,13 @@
</nav> </nav>
</header> </header>
<section class="_sidebar"> <section class="_sidebar">
<div class="_list"></div> <div class="_list">
<% unless @doc %>
<% App.docs.each do |slug, doc| %>
<a href="/<%= slug %>/" class="_list-item _icon-<%= slug %> _list-dir"><span class="_list-arrow"></span><%= doc['name'] %></a>
<% end %>
<% end %>
</div>
</section> </section>
<section class="_container"> <section class="_container">
<div class="_content _content-loading"></div> <div class="_content _content-loading"></div>

Loading…
Cancel
Save