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

28 lines
567 B
Plaintext

<% throw_content :for_sidebar do -%>
<div class="tag_cloud">
<p>Popular Tags</p>
<%= tag_cloud @tags %>
</div>
<div id="related_links">
<div class="title"><%= tuxconfig[:related_links_title] -%></div>
<p>
<%= tuxconfig[:related_links].join('<br />') %>
</p>
</div>
<% end -%>
<% if @news.empty? -%>
<p><strong><em>There are no news posts, yet.</em></strong></p>
<% else -%>
<% @news.each do |page| -%>
<%= partial 'pages/page', :with => [ page ] %>
<% end -%>
<%= partial 'shared/pagination_links' %>
<% end -%>