I'm trying to implement a "category icon" so that depending on what category an entry is, a different icon is displayed - I have large icons for the main journal page and smaller icons for the archive listings - however, on trying to implement this on my main archives page, I've had problems with the category causing the listings to repeat ...
Here's the code I'm using:
QUOTE
<MTArchiveList>
<MTCategories>
<MTEntries>
<div>
<img src="/images/rambling/<$MTCategoryLabel$>-sm.gif" >
<a href="<$MTEntryLink$>"><$MTEntryTitle$></a>:
<$MTEntryExcerpt$> ... <br />
</div>
<br />
</MTEntries>
</MTCategories>
</MTArchiveList>
And here's the URL with the resulting page:
http://www.desine.net/rambling/archives/I've tried moving the MTCategories and MTEntries tags around in several other ways, but couldn't get it to display an entry with a single corresponding icon next to it. The closest I got was when I put MTCategories around the <img> tag, but that just repeated all the icons for each entry to the left of each entry.
(Just in case, you need it, the homepage for the journal is at:
http://www.desine.net/rambling/ instead of the old Greymatter journal listed in the navigation bar.)