mirror of
https://github.com/fmap/muflax65ngodyewp.onion
synced 2024-09-16 21:56:25 +02:00
1b781a23f6
* word count * categories in nav-bar * next / prev item * robots.txt (including sitemap) * many minor tweaks
15 lines
361 B
Plaintext
15 lines
361 B
Plaintext
<!-- print all items in a category, nicely formatted -->
|
|
|
|
<!-- find category index -->
|
|
<% cat = @site.category @category %>
|
|
|
|
<!-- header -->
|
|
<h1><%= cat.link %></h1>
|
|
|
|
<!-- print items in nice list -->
|
|
<ul class="table">
|
|
<% cat.members.sort_by{|i| i[:date]}.reverse.each do |i| %>
|
|
<%= render 'list-item', :item => i, :episteme => true %>
|
|
<% end %>
|
|
</ul>
|