[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About merging the Hurd homepage and the Hurd wiki

From: Thomas Schwinge
Subject: Re: About merging the Hurd homepage and the Hurd wiki
Date: Wed, 12 Nov 2008 15:38:56 +0100
User-agent: Mutt/1.5.11


On Tue, Nov 11, 2008 at 11:28:01AM +0100, Arne Babenhauserheide wrote:
> Is it possible to only show a shortened version of the news on the start 
> page, 
> so that we can write longer news entries, or should the news entries rather 
> be 
> like changelog entries which link to full-length articles? 

Currently ikiwiki's inline plugin will either show the full item or
nothing of it.  Or you can manually use the toggle plugin,
<http://ikiwiki.info/plugins/toggle/>, for what you intend to do.  Adding
a new mode to the inline plugin to only show an ``appetizer'' ending with
``...'' after a customizable amount of characters (or lines) is on my
TODO list.  (One item for the Perl coders.)  The ``...'' would then lead
to either the full content being displayed or a link to the complete

> But I just spotted a css error: 
> The class "newsitemcontent" needs a min-height value, so that it is always at 
> least as high as the "newsitemheader"

Ah, right!  However, I solved this differently to what you suggested,
using CSS' `clear' magic.  See the git log for that change and a few
other CSS improvements.  By now I know more about CSS than I ever wanted.
But still not enough:

      /* TODO.  Why is this needed to make the floating text appear on the same
         vertical height as is the item's title?  */
      margin-top: -10px;


Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]