My good friend Tom has asked me to contribute to this blog. The idea was to be able to test by-author backgrounds.
The trick was to change the existing post wrapper <div> from:
<div class='post-body'>
<div><data:post.body/></div>
to:
<div class='post-body'>
<div expr:class='data:post.author'>
<data:post.body/></div>
This post supports spavel's reply in the 10/6/07 BHG query How can I use different styles of posts for different members of a blog?
No comments:
Post a Comment