Yesterday evening, I put into place the final code to generate the posts on this main page. The features of this code are
-
It’s threaded!
-
The CSS for each blog is independent.
-
A minimum number of posts for can be specfied for the main blog.
-
A maximum number of posts can be specified for the secondary blog.
The code:
<$mt:EntryDate format="%A, %e %B %Y"$>
<$mt:Include module="Entry Header"$> <$mt:Include module="Entry Body"$> <$mt:Include module="squidbits Entry Footer"$> <$mt:Var name="bits_offset" op="+" value="1" setvar="bits_offset"$><$mt:EntryTitle$>
<$mt:EntryDate format="%A, %e %B %Y"$>
<$mt:Include module="Entry Body"$> <$mt:Include module="Entry Footer"$><$mt:EntryTitle$>
<$mt:EntryDate format="%A, %e %B %Y"$>
<$mt:Include module="Entry Body"$> <$mt:Include module="Entry Footer"$>I think the code is simple enough and the variables descriptive enough that the code doesn’t really need documentation. The code is unquestionably a hack, but it’s a hack that works and one of the consequences is a feature in the joint. Update» with bug fixes.