I re-did the homepage. Again.
Same stylesheet as before, ie left sidebar and main content area.
I rewrote the preamble, still not happy with it. People coming to the homepage for the first time isn’t likely to know what the hell’s happening by reading it, but it’s the best I can do. The body text follows the blogbody style instead of the more obvious bodystyle, so links actually show up. I’ve tried to incorporate links to the rest of the site in the write-up.
Didn’t want to make the weblog the front page, because the question is, which weblog? Quiet thoughts? Shiny parts? Or the semi-static pages?
I did want to highlight recently updated weblog content though, so the most recent entry shows up on the homepage. So I used the php include trick I just learnt.
Step 1: In each of the weblogs I want to hightlight, I created a new index template and called it highlight.inc.
Step 2: I used the code on the main index that relate to the entries as basis, adding the attibute lastn=”1″ to the MTEntries tag, so I’m only capturing the last entry made in that weblog. I wanted to also keep the information about when the post was made and into which category. I ended up with a text file:
<h3 class=”title”><a href=”<$MTEntryPermalink$>”><$MTEntryTitle$></a></h3>
<$MTEntryBody$> </$MTEntryBody$><br />
Posted at <a href=”<$MTEntryPermalink$>”> <$MTEntryDate format=”%x”$></a>
in <MTEntryCategories glue=” , “> <a href=”<$MTCategoryArchiveLink$>”><$MTCategoryLabel$>
Step 3: In the homepage I used a simple code to include the highlight, so for quiet thoughts:
Step 4: Repeat for shiny parts.