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

21 lines
529 B
Plaintext
Raw Permalink Normal View History

<%= render :partial => 'page' -%>
<% 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 -%>
<%= edit_page_link(@page) -%><br />
<%= new_page_link -%><br />
<%= render :partial => 'shared/tag_cloud' %>
<% end -%>
<% content_for :auto_discoveries do -%>
<%= auto_discovery_link_tag :rss, { :format => :rss } %>
<% end -%>