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

36 lines
906 B
Plaintext
Raw Permalink Normal View History

2008-06-27 00:13:15 -04:00
<% throw_content :for_sidebar do -%>
2008-07-24 04:41:17 -04:00
<div id="tag_cloud">
2008-06-27 00:13:15 -04:00
<p>Popular Tags</p>
<%= tag_cloud @tags %>
</div>
2008-07-23 01:39:55 -04:00
<div id="related_links">
<div class="title"><%= tuxconfig[:related_links_title] -%></div>
2008-06-27 00:13:15 -04:00
<p>
<%= tuxconfig[:related_links].join('<br />') %>
2008-06-27 00:13:15 -04:00
</p>
</div>
2009-03-24 23:38:09 -04:00
<% unless tuxconfig[:github_badge_id].to_s.empty? -%>
<div id="github-badge"></div>
<script type="text/javascript" charset="utf-8">
GITHUB_USERNAME="<%= tuxconfig[:github_badge_id] -%>";
</script>
<script src="http://drnic.github.com/github-badges/dist/github-badge-launcher.js" type="text/javascript"></script>
<% end -%>
2008-06-27 00:13:15 -04:00
<% 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 -%>
2008-06-27 21:28:18 -04:00
<%= partial 'shared/pagination_links' %>
2008-06-27 00:13:15 -04:00
2008-06-27 01:14:53 -04:00
<% end -%>