On Mon, 2006-04-10 at 09:08 -0400, Bradford R. Bowman wrote: > I would like entries from different categories to have different html > (basically be wrapped > in different divs) on the index page. I thought this would be easy, but > the solution is eluding me.
To answer my own question, though I'm not sure it's will benefit anyone
in particular, this is what I did in index.html.quick:
entry_content: |
<div class="<%= entry.id.split("/")[0] %>">
<%= entry.content.to_html %>
etc...
Or at least, that's the concept.
The idea is to generate something of a tumbleblog, with different
categories of entries styled differently.
Let me know if you have a more clever idea, as I am not by any means
proficient with ruby...yet.
--
Bradford R. Bowman
GnuPG Public Key available at:
http://mazirian.com/
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Hobix-is-the-way mailing list [email protected] http://rubyforge.org/mailman/listinfo/hobix-is-the-way
