<% unless @beers.empty? -%>
<% for beer in @beers %>- <%= link_to beer.title, beer_path(beer.page.title_for_url) %>
<% else -%>
- No beers, yet
<% end -%>
<%= render :partial => 'shared/pagination_links' %>
<% content_for :sidebar do -%>
<%= link_to "New Beer", new_beer_path, { :title => 'Create a new beer' } -%>
<%= render :partial => 'shared/tag_cloud' %>
<% end -%>