<% content_for(:secondary_links) do %>
  <menu>
    <li><%= link_to "Listing", posts_path %></li>
    <li class="nonessential"><%= link_to "Upload", new_upload_path %></li>
    <li><%= link_to "Popular", popular_explore_posts_path %></li>
    <li><%= link_to "Hot", posts_path(:tags => "order:rank") %></li>
    <% unless CurrentUser.is_anonymous? %>
      <li><%= link_to "Favorites", favorites_path %></li>
      <li><%= link_to "Subscriptions", posts_path(:tags => "sub:#{CurrentUser.name}") %></li>
    <% end %>
    <li class="nonessential"><%= link_to "Changes", post_versions_path %></li>
    <% if CurrentUser.is_janitor? %>
      <li class="nonessential"><%= link_to "Moderate", moderator_post_queue_path %></li>
    <% end %>
    <li class="nonessential"><%= link_to "Help", wiki_pages_path(:title => "help:posts") %></li>
  </menu>
<% end %>
