1
0
Fork 0
mirror of https://github.com/fmap/muflax65ngodyewp.onion synced 2024-07-03 11:00:42 +02:00
muflax65ngodyewp.onion/layouts/cat-nav.erb
muflax 1b781a23f6 transition complete
* word count
* categories in nav-bar
* next / prev item
* robots.txt (including sitemap)
* many minor tweaks
2012-04-18 23:06:03 +02:00

24 lines
572 B
Plaintext

<div id="cat-nav">
<h2>Categories</h2>
<ul>
<% @site.categories.each do |cat| %>
<li><%= cat.link true %></li>
<% if @item.category == cat %>
<ul>
<% @item.category.members.each do |i| %>
<%= render 'list-item', :item => i, :episteme => false %>
<% end %>
</ul>
<% end %>
<% end %>
</ul>
<h2>All Posts</h2>
<ul>
<li><a href='/categories/'>All Posts By Category</a></li>
<li><a href='/date/'>All Posts By Date</a></li>
<li><a href='/rss.xml'>RSS feed</a></li>
</ul>
</div>