This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/pages/index.rhtml

16 lines
412 B
Plaintext

<%= render :partial => 'page', :locals => { :simple => true } -%>
<% unless @wiki_pages.empty? -%>
<div class="hentry">
<ul>
<%= @wiki_pages.collect { |x| "<li>#{show_page_link(x, x.title)}</li>" } %>
</ul>
<%= render :partial => 'shared/pagination_links' %>
</div>
<% end -%>
<% content_for :sidebar do -%>
<%= new_page_link -%><br />
<%= render :partial => 'shared/tag_cloud' %>
<% end -%>