diff options
Diffstat (limited to 'lib/oldweb/_sidebar_sections.rhtml')
-rw-r--r-- | lib/oldweb/_sidebar_sections.rhtml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/oldweb/_sidebar_sections.rhtml b/lib/oldweb/_sidebar_sections.rhtml new file mode 100644 index 0000000..b6e9458 --- /dev/null +++ b/lib/oldweb/_sidebar_sections.rhtml @@ -0,0 +1,8 @@ +<% +unless klass.sections.length == 1 +%><p><b>Sections:</b> <% + klass.sort_sections.each do |section| %><a +href="#<%= section.aref %>"><%= h section.title %></a><% + end +end +%> |