(March 10 2006)
The nanoblogger sidebar code in v3.1 wasn't to my taste - unevenly mixed content blocks and no containing divs.
Editing the template for main_index improved matters a lot, I'm now creating sidebar entries as :-
<div class="sideentry">
<div class="sidetitle"> Title of Sidebar </div>
<div class="side"> Content of Sidebar </div>
</div>
but the article block was badly broken - the zyx_article plugin was generating markup directly, and not all of it was correctly classed for CSS.
A little logic change was required :-
if [ "$articles_pass" = 1 ]; then
addalist_name
echo "<div class=\"side\">" >> "$ARTICLE_PLUGIN_OUTFILE"
cycle_articles_for add_articlelink
echo "</div>" >> "$ARTICLE_PLUGIN_OUTFILE"
NB_ArticleLinks=$(< "$ARTICLE_PLUGIN_OUTFILE")
I've also added markdown Textile processing to
articles, for fun and profit. Just one more line, in the
create_article function
MKPAGE_CONTENT=$(echo "$NB_Entries" | ${TEXTILE} ${TEXTILE_OPTS})
Things are coming together …