Adds a token which allows you to differentiate between the first day of entries in a series of entries to be displayed from the other days.
This plugin comes with Pyblosxom. To install, do the following:
In your config.py file, add Pyblosxom.plugins.firstdaydiv to the load_plugins list.
(optional) Set the firstDayDiv config variable. This defaults to blosxomFirstDayDiv.
Example:
py['firstDayDiv'] = 'blosxomFirstDayDiv'
This denotes the first day with the css class set in the firstDayDiv config variable. This is available in the $(dayDivClass) template variable. You probably want to put this in your date_head template in a <div...> tag.
For example, in your date_head, you could have:
<div class="$dayDivClass">
<span class="blosxomDate">$date</span>
and in your date_foot, you’d want to close that <div> off:
</div>
Feel free to use this in other ways.
Plugin is distributed under license: MIT