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

32 lines
929 B
Plaintext
Raw Normal View History

2008-06-27 00:13:15 -04:00
<% throw_content :for_sidebar do -%>
<div class="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">
2008-06-27 00:13:15 -04:00
<div class="title">Things I Do</div>
<p>
<a href="http://github.com/penguincoder"><img src="/images/utilities-terminal.png" /> Code on Github</a><br />
<a href="http://del.icio.us/penguincoder"><img src="/images/delicious.med.gif" /> Del.icio.us Feed</a><br />
2008-06-27 01:14:53 -04:00
<a href="http://barleysodas.com">BarleySodas</a> Beer Wiki With Lots More<br />
2008-06-27 00:13:15 -04:00
</p>
</div>
<% end -%>
<% @secondary_title = "Demolishing innocence for #{time_lost_in_words(Time.now, @oldest_date)}" unless @oldest_date.nil? -%>
<% 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 -%>