1
0
Fork 0
mirror of https://github.com/fmap/muflax65ngodyewp.onion synced 2024-06-26 10:26:48 +02:00
muflax65ngodyewp.onion/layouts/category.erb
muflax 6706ea2e73 more transitioning
* use smaller images
* rss fixed
* categories fixed and improved
* basic blog layout
* minor fixes
2012-04-18 02:08:04 +02:00

25 lines
550 B
Plaintext

<!-- print all items in a category, nicely formatted -->
<!-- find category index -->
<% cat = @site.category @category %>
<!-- header -->
# [<%= cat.item[:title] %>][]
<!-- print items in nice list -->
<% cat.members.sort_by{|i| i[:date]}.reverse.each do |i|
techne = "<span class='techne_#{i[:techne]}'>#{i[:date]}</span>"
status = "(#{episteme_cat i[:episteme]}) (#{techne})"
%>
{:.table}
- <span class='align_left'>[<%= i[:title]%>][]</span>
<span class='align_right'><%= status %></span>
<div style='clear: both'></div>
<% end %>