summaryrefslogtreecommitdiff
path: root/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml
blob: 2089387c5173eae48ce2b140f55f6446debdf839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<% simple_files = @files.select { |f| f.text? } %>
<% unless simple_files.empty? then %>
<nav id="fileindex-section" class="section project-section">
  <h3 class="section-header">Pages</h3>

  <ul>
  <% simple_files.each do |f| %>
    <li class="file"><a href="<%= rel_prefix %>/<%= f.path %>"><%= h f.page_name %></a>
  <% end %>
  </ul>
</nav>
<% end %>